@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
|
@@ -1,120 +1,107 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import { Five as mt } from "@realsee/five";
|
|
9
|
-
import { nextFrame as ut } from "../shared-utils/animationFrame/index.js";
|
|
10
|
-
import { equal as k } from "../shared-utils/equal.js";
|
|
11
|
-
import { intersectionOfLine as ht } from "../shared-utils/math/planimetry.js";
|
|
12
|
-
import { throttle as pt } from "../shared-utils/throttle.js";
|
|
13
|
-
import { Vector3 as _ } from "three";
|
|
1
|
+
import { SvelteComponent as Q, init as X, safe_not_equal as Z, element as $, insert as tt, transition_in as C, check_outros as et, transition_out as k, detach as nt, destroy_each as ot, onMount as rt, onDestroy as st, create_component as at, mount_component as ct, destroy_component as it, group_outros as lt } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Five as ft } from "@realsee/five";
|
|
3
|
+
import { nextFrame as mt } from "../shared-utils/animationFrame/index.js";
|
|
4
|
+
import { equal as z } from "../shared-utils/equal.js";
|
|
5
|
+
import { intersectionOfLine as ut } from "../shared-utils/math/planimetry.js";
|
|
6
|
+
import { throttle as ht } from "../shared-utils/throttle.js";
|
|
7
|
+
import { Vector3 as M } from "three";
|
|
14
8
|
import dt from "./RulerItem.js";
|
|
15
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
16
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
17
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
18
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
19
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
20
9
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
10
|
import "../shared-utils/isTruelyObject.js";
|
|
22
|
-
function
|
|
23
|
-
const t =
|
|
24
|
-
return t[12] = r[
|
|
11
|
+
function J(p, r, i) {
|
|
12
|
+
const t = p.slice();
|
|
13
|
+
return t[12] = r[i], t;
|
|
25
14
|
}
|
|
26
|
-
function
|
|
27
|
-
let r,
|
|
15
|
+
function K(p) {
|
|
16
|
+
let r, i;
|
|
28
17
|
return r = new dt({
|
|
29
18
|
props: { rulerItemProp: (
|
|
30
19
|
/*itemData*/
|
|
31
|
-
|
|
20
|
+
p[12]
|
|
32
21
|
) }
|
|
33
22
|
}), {
|
|
34
23
|
c() {
|
|
35
|
-
|
|
24
|
+
at(r.$$.fragment);
|
|
36
25
|
},
|
|
37
26
|
m(t, e) {
|
|
38
|
-
|
|
27
|
+
ct(r, t, e), i = !0;
|
|
39
28
|
},
|
|
40
29
|
p(t, e) {
|
|
41
|
-
const
|
|
30
|
+
const w = {};
|
|
42
31
|
e & /*rulerItemProp*/
|
|
43
|
-
1 && (
|
|
44
|
-
t[12]), r.$set(
|
|
32
|
+
1 && (w.rulerItemProp = /*itemData*/
|
|
33
|
+
t[12]), r.$set(w);
|
|
45
34
|
},
|
|
46
35
|
i(t) {
|
|
47
|
-
|
|
36
|
+
i || (C(r.$$.fragment, t), i = !0);
|
|
48
37
|
},
|
|
49
38
|
o(t) {
|
|
50
|
-
|
|
39
|
+
k(r.$$.fragment, t), i = !1;
|
|
51
40
|
},
|
|
52
41
|
d(t) {
|
|
53
|
-
|
|
42
|
+
it(r, t);
|
|
54
43
|
}
|
|
55
44
|
};
|
|
56
45
|
}
|
|
57
|
-
function
|
|
58
|
-
let r,
|
|
46
|
+
function pt(p) {
|
|
47
|
+
let r, i, t = (
|
|
59
48
|
/*rulerItemProp*/
|
|
60
|
-
|
|
49
|
+
p[0]
|
|
61
50
|
), e = [];
|
|
62
51
|
for (let o = 0; o < t.length; o += 1)
|
|
63
|
-
e[o] =
|
|
64
|
-
const
|
|
52
|
+
e[o] = K(J(p, t, o));
|
|
53
|
+
const w = (o) => k(e[o], 1, 1, () => {
|
|
65
54
|
e[o] = null;
|
|
66
55
|
});
|
|
67
56
|
return {
|
|
68
57
|
c() {
|
|
69
|
-
r =
|
|
58
|
+
r = $("div");
|
|
70
59
|
for (let o = 0; o < e.length; o += 1)
|
|
71
60
|
e[o].c();
|
|
72
61
|
},
|
|
73
62
|
m(o, a) {
|
|
74
|
-
|
|
63
|
+
tt(o, r, a);
|
|
75
64
|
for (let n = 0; n < e.length; n += 1)
|
|
76
65
|
e[n] && e[n].m(r, null);
|
|
77
|
-
|
|
66
|
+
i = !0;
|
|
78
67
|
},
|
|
79
68
|
p(o, [a]) {
|
|
80
69
|
if (a & /*rulerItemProp*/
|
|
81
70
|
1) {
|
|
82
|
-
t =
|
|
83
|
-
|
|
84
|
-
o[0]
|
|
85
|
-
);
|
|
71
|
+
t = /*rulerItemProp*/
|
|
72
|
+
o[0];
|
|
86
73
|
let n;
|
|
87
74
|
for (n = 0; n < t.length; n += 1) {
|
|
88
|
-
const A =
|
|
89
|
-
e[n] ? (e[n].p(A, a),
|
|
75
|
+
const A = J(o, t, n);
|
|
76
|
+
e[n] ? (e[n].p(A, a), C(e[n], 1)) : (e[n] = K(A), e[n].c(), C(e[n], 1), e[n].m(r, null));
|
|
90
77
|
}
|
|
91
|
-
for (
|
|
92
|
-
|
|
93
|
-
|
|
78
|
+
for (lt(), n = t.length; n < e.length; n += 1)
|
|
79
|
+
w(n);
|
|
80
|
+
et();
|
|
94
81
|
}
|
|
95
82
|
},
|
|
96
83
|
i(o) {
|
|
97
|
-
if (!
|
|
84
|
+
if (!i) {
|
|
98
85
|
for (let a = 0; a < t.length; a += 1)
|
|
99
|
-
|
|
100
|
-
|
|
86
|
+
C(e[a]);
|
|
87
|
+
i = !0;
|
|
101
88
|
}
|
|
102
89
|
},
|
|
103
90
|
o(o) {
|
|
104
91
|
e = e.filter(Boolean);
|
|
105
92
|
for (let a = 0; a < e.length; a += 1)
|
|
106
|
-
|
|
107
|
-
|
|
93
|
+
k(e[a]);
|
|
94
|
+
i = !1;
|
|
108
95
|
},
|
|
109
96
|
d(o) {
|
|
110
|
-
o &&
|
|
97
|
+
o && nt(r), ot(e, o);
|
|
111
98
|
}
|
|
112
99
|
};
|
|
113
100
|
}
|
|
114
|
-
function
|
|
101
|
+
function gt(p, r, i) {
|
|
115
102
|
var B, G, H, U;
|
|
116
|
-
let { five: t } = r, { rulerDatas: e } = r, { options:
|
|
117
|
-
const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (
|
|
103
|
+
let { five: t } = r, { rulerDatas: e } = r, { options: w } = r, o = [];
|
|
104
|
+
const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (c, l) => {
|
|
118
105
|
const f = [
|
|
119
106
|
[{ x: 0, y: 0 }, { x: a, y: 0 }],
|
|
120
107
|
[{ x: 0, y: 0 }, { x: 0, y: n }],
|
|
@@ -122,56 +109,56 @@ function xt(d, r, c) {
|
|
|
122
109
|
[{ x: 0, y: n }, { x: a, y: n }]
|
|
123
110
|
], u = [];
|
|
124
111
|
for (let h = 0; h < f.length; h++) {
|
|
125
|
-
const g =
|
|
112
|
+
const g = ut([c, l], [f[h][0], f[h][1]], !0);
|
|
126
113
|
g && u.push(g);
|
|
127
114
|
}
|
|
128
115
|
return u.length === 0 ? !1 : u;
|
|
129
|
-
}, j = (
|
|
130
|
-
const f =
|
|
116
|
+
}, j = (c, l) => {
|
|
117
|
+
const f = c.clone().project(t.camera), u = (f.x + 1) / 2 * a, h = (-f.y + 1) / 2 * n, g = l.clone().project(t.camera), L = (g.x + 1) / 2 * a, y = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(y - h, 2));
|
|
131
118
|
return {
|
|
132
119
|
startLeft: u,
|
|
133
120
|
startTop: h,
|
|
134
121
|
endLeft: L,
|
|
135
|
-
endTop:
|
|
122
|
+
endTop: y,
|
|
136
123
|
distance: s
|
|
137
124
|
};
|
|
138
|
-
},
|
|
139
|
-
const u = t.camera.position, h = t.camera.getWorldDirection(new
|
|
125
|
+
}, N = (c, l, f) => {
|
|
126
|
+
const u = t.camera.position, h = t.camera.getWorldDirection(new M()), g = c.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), y = c.distanceTo(l), T = l.clone().sub(l.clone().sub(c).divide(new M(2, 2, 2))).distanceTo(u), { startLeft: d, startTop: x, endLeft: v, endTop: q, distance: D } = j(c, l), S = -((Math.PI / 2 - Math.atan2(v - d, x - q)) / Math.PI) * 180;
|
|
140
127
|
let P = !0;
|
|
141
|
-
f || (P = !1), !
|
|
128
|
+
f || (P = !1), !z(c, f) && !z(l, f) && (P = !1), y < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / y > 8 && (P = !1);
|
|
142
129
|
let I = 50, b = D;
|
|
143
|
-
const m = A({ x: ~~
|
|
144
|
-
if (m && m.length === 1 && (
|
|
130
|
+
const m = A({ x: ~~d, y: ~~x }, { x: ~~v, y: ~~q });
|
|
131
|
+
if (m && m.length === 1 && (z(c, f) ? (b = Math.sqrt(Math.pow(m[0].x - d, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : z(l, f) && (b = Math.sqrt(Math.pow(m[0].x - v, 2) + Math.pow(m[0].y - q, 2)), I = 100 - b / D * 50)), m && m.length === 2) {
|
|
145
132
|
const F = {
|
|
146
133
|
x: (m[0].x + m[1].x) / 2,
|
|
147
134
|
y: (m[0].y + m[1].y) / 2
|
|
148
135
|
};
|
|
149
|
-
I = Math.sqrt(Math.pow(F.x -
|
|
136
|
+
I = Math.sqrt(Math.pow(F.x - d, 2) + Math.pow(F.y - x, 2)) / D * 100;
|
|
150
137
|
}
|
|
151
138
|
return {
|
|
152
|
-
startLeft:
|
|
139
|
+
startLeft: d,
|
|
153
140
|
startTop: x,
|
|
154
141
|
distance: D,
|
|
155
|
-
deg:
|
|
142
|
+
deg: S,
|
|
156
143
|
visible: P,
|
|
157
144
|
labelOffset: I,
|
|
158
|
-
ruleLength:
|
|
145
|
+
ruleLength: y
|
|
159
146
|
};
|
|
160
|
-
},
|
|
161
|
-
const
|
|
147
|
+
}, _ = () => {
|
|
148
|
+
const c = t.panoIndex, l = e.find((s) => s.panoIndex === c);
|
|
162
149
|
if (!l)
|
|
163
|
-
return
|
|
164
|
-
if (t.currentMode !==
|
|
165
|
-
return
|
|
166
|
-
const f = t.camera.position, u = t.camera.getWorldDirection(new
|
|
167
|
-
const
|
|
168
|
-
return
|
|
169
|
-
}),
|
|
150
|
+
return i(0, o = []);
|
|
151
|
+
if (t.currentMode !== ft.Mode.Panorama)
|
|
152
|
+
return i(0, o = []);
|
|
153
|
+
const f = t.camera.position, u = t.camera.getWorldDirection(new M()), h = l.lines.map((s) => new M(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new M(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
|
|
154
|
+
const d = s.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0)), x = T.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0));
|
|
155
|
+
return d - x;
|
|
156
|
+
}), y = l.lines.map((s) => {
|
|
170
157
|
var b, m;
|
|
171
|
-
const T = s.start,
|
|
158
|
+
const T = s.start, d = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: S, ruleLength: P } = N(new M(T[0], -T[1], -T[2]), new M(d[0], -d[1], -d[2]), L), I = [];
|
|
172
159
|
return s.children && ((b = s.children) == null ? void 0 : b.length) > 0 && ((m = s.children) == null || m.forEach((F) => {
|
|
173
|
-
const W = F.start,
|
|
174
|
-
I.push({ width:
|
|
160
|
+
const W = F.start, Y = F.end, { distance: O } = j(new M(W[0], -W[1], -W[2]), new M(Y[0], -Y[1], -Y[2]));
|
|
161
|
+
I.push({ width: O, state: F.state });
|
|
175
162
|
})), {
|
|
176
163
|
width: q,
|
|
177
164
|
left: x,
|
|
@@ -179,26 +166,26 @@ function xt(d, r, c) {
|
|
|
179
166
|
rotateDeg: D,
|
|
180
167
|
state: s.state,
|
|
181
168
|
children: I,
|
|
182
|
-
labelOffset:
|
|
169
|
+
labelOffset: S,
|
|
183
170
|
visible: V,
|
|
184
|
-
labelElement:
|
|
171
|
+
labelElement: w.distanceText(P)
|
|
185
172
|
};
|
|
186
173
|
});
|
|
187
|
-
|
|
188
|
-
}, E = () =>
|
|
174
|
+
i(0, o = y);
|
|
175
|
+
}, E = () => mt(_), R = ht(_, 80);
|
|
189
176
|
return rt(() => {
|
|
190
|
-
|
|
177
|
+
_(), t.on("panoArrived", _), t.on("modeChange", _), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
|
|
191
178
|
}), st(() => {
|
|
192
|
-
t.off("panoArrived",
|
|
193
|
-
}),
|
|
194
|
-
"five" in
|
|
195
|
-
}, [o, t, e,
|
|
179
|
+
t.off("panoArrived", _), t.off("modeChange", _), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
|
|
180
|
+
}), p.$$set = (c) => {
|
|
181
|
+
"five" in c && i(1, t = c.five), "rulerDatas" in c && i(2, e = c.rulerDatas), "options" in c && i(3, w = c.options);
|
|
182
|
+
}, [o, t, e, w];
|
|
196
183
|
}
|
|
197
|
-
class
|
|
184
|
+
class Lt extends Q {
|
|
198
185
|
constructor(r) {
|
|
199
|
-
super(),
|
|
186
|
+
super(), X(this, r, gt, pt, Z, { five: 1, rulerDatas: 2, options: 3 });
|
|
200
187
|
}
|
|
201
188
|
}
|
|
202
189
|
export {
|
|
203
|
-
|
|
190
|
+
Lt as default
|
|
204
191
|
};
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
2
|
import "./RulerItems.js";
|
|
3
|
-
import "../vendor/svelte/
|
|
4
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
5
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
6
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
7
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
8
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
9
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
10
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
11
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
12
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
13
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
14
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
3
|
+
import "../vendor/svelte/internal/index.js";
|
|
15
4
|
import "@realsee/five";
|
|
16
5
|
import "../shared-utils/animationFrame/index.js";
|
|
17
6
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -21,8 +10,8 @@ import "../shared-utils/math/planimetry.js";
|
|
|
21
10
|
import "../shared-utils/throttle.js";
|
|
22
11
|
import "three";
|
|
23
12
|
import "./RulerItem.js";
|
|
24
|
-
const
|
|
13
|
+
const d = (r, o) => new t(r, o);
|
|
25
14
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
d as PanoRulerProPlugin,
|
|
16
|
+
d as default
|
|
28
17
|
};
|
|
@@ -1,28 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { currentTarget as w } from "../store.js";
|
|
7
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
8
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
9
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
10
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
11
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
12
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
13
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
14
|
-
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
15
|
-
function $(n) {
|
|
16
|
-
P(n, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
1
|
+
import { SvelteComponent as d, init as h, safe_not_equal as P, append_styles as y, empty as v, insert as p, noop as c, destroy_each as S, detach as u, element as T, attr as b, toggle_class as f, set_style as g, listen as k } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { currentTarget as z } from "../store.js";
|
|
3
|
+
import "../../vendor/svelte/store/index.js";
|
|
4
|
+
function w(n) {
|
|
5
|
+
y(n, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
17
6
|
}
|
|
18
|
-
function
|
|
7
|
+
function _(n, t, o) {
|
|
19
8
|
const e = n.slice();
|
|
20
9
|
return e[3] = t[o], e;
|
|
21
10
|
}
|
|
22
|
-
function
|
|
11
|
+
function m(n) {
|
|
23
12
|
let t, o = `${/*origin*/
|
|
24
13
|
n[3].top}%`, e = `${/*origin*/
|
|
25
|
-
n[3].left}%`, a,
|
|
14
|
+
n[3].left}%`, a, l;
|
|
26
15
|
function i() {
|
|
27
16
|
return (
|
|
28
17
|
/*click_handler*/
|
|
@@ -34,7 +23,7 @@ function _(n) {
|
|
|
34
23
|
}
|
|
35
24
|
return {
|
|
36
25
|
c() {
|
|
37
|
-
t =
|
|
26
|
+
t = T("i"), b(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(
|
|
38
27
|
t,
|
|
39
28
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
40
29
|
/*origin*/
|
|
@@ -46,11 +35,11 @@ function _(n) {
|
|
|
46
35
|
n[3].front ? "visible" : "hidden"
|
|
47
36
|
);
|
|
48
37
|
},
|
|
49
|
-
m(
|
|
50
|
-
|
|
38
|
+
m(r, s) {
|
|
39
|
+
p(r, t, s), a || (l = k(t, "click", i), a = !0);
|
|
51
40
|
},
|
|
52
|
-
p(
|
|
53
|
-
n =
|
|
41
|
+
p(r, s) {
|
|
42
|
+
n = r, s & /*origins*/
|
|
54
43
|
1 && f(
|
|
55
44
|
t,
|
|
56
45
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
@@ -68,67 +57,65 @@ function _(n) {
|
|
|
68
57
|
n[3].front ? "visible" : "hidden"
|
|
69
58
|
);
|
|
70
59
|
},
|
|
71
|
-
d(
|
|
72
|
-
|
|
60
|
+
d(r) {
|
|
61
|
+
r && u(t), a = !1, l();
|
|
73
62
|
}
|
|
74
63
|
};
|
|
75
64
|
}
|
|
76
|
-
function
|
|
77
|
-
let t, o =
|
|
65
|
+
function $(n) {
|
|
66
|
+
let t, o = (
|
|
78
67
|
/*origins*/
|
|
79
68
|
n[0]
|
|
80
69
|
), e = [];
|
|
81
70
|
for (let a = 0; a < o.length; a += 1)
|
|
82
|
-
e[a] = _(
|
|
71
|
+
e[a] = m(_(n, o, a));
|
|
83
72
|
return {
|
|
84
73
|
c() {
|
|
85
74
|
for (let a = 0; a < e.length; a += 1)
|
|
86
75
|
e[a].c();
|
|
87
|
-
t =
|
|
76
|
+
t = v();
|
|
88
77
|
},
|
|
89
|
-
m(a,
|
|
78
|
+
m(a, l) {
|
|
90
79
|
for (let i = 0; i < e.length; i += 1)
|
|
91
|
-
e[i] && e[i].m(a,
|
|
92
|
-
|
|
80
|
+
e[i] && e[i].m(a, l);
|
|
81
|
+
p(a, t, l);
|
|
93
82
|
},
|
|
94
|
-
p(a, [
|
|
95
|
-
if (
|
|
83
|
+
p(a, [l]) {
|
|
84
|
+
if (l & /*origins, handleClick*/
|
|
96
85
|
3) {
|
|
97
|
-
o =
|
|
98
|
-
|
|
99
|
-
a[0]
|
|
100
|
-
);
|
|
86
|
+
o = /*origins*/
|
|
87
|
+
a[0];
|
|
101
88
|
let i;
|
|
102
89
|
for (i = 0; i < o.length; i += 1) {
|
|
103
|
-
const
|
|
104
|
-
e[i] ? e[i].p(
|
|
90
|
+
const r = _(a, o, i);
|
|
91
|
+
e[i] ? e[i].p(r, l) : (e[i] = m(r), e[i].c(), e[i].m(t.parentNode, t));
|
|
105
92
|
}
|
|
106
93
|
for (; i < e.length; i += 1)
|
|
107
94
|
e[i].d(1);
|
|
108
95
|
e.length = o.length;
|
|
109
96
|
}
|
|
110
97
|
},
|
|
111
|
-
i:
|
|
112
|
-
o:
|
|
98
|
+
i: c,
|
|
99
|
+
o: c,
|
|
113
100
|
d(a) {
|
|
114
|
-
a &&
|
|
101
|
+
S(e, a), a && u(t);
|
|
115
102
|
}
|
|
116
103
|
};
|
|
117
104
|
}
|
|
118
|
-
function
|
|
105
|
+
function C(n, t, o) {
|
|
119
106
|
let { origins: e } = t;
|
|
120
107
|
const a = (i) => {
|
|
121
|
-
|
|
122
|
-
},
|
|
108
|
+
z.update(() => `${i}-PanoSpatialTagPlugin-${Date.now()}`);
|
|
109
|
+
}, l = (i) => a(i.id);
|
|
123
110
|
return n.$$set = (i) => {
|
|
124
111
|
"origins" in i && o(0, e = i.origins);
|
|
125
|
-
}, [e, a,
|
|
112
|
+
}, [e, a, l];
|
|
126
113
|
}
|
|
127
|
-
class
|
|
114
|
+
class O extends d {
|
|
128
115
|
constructor(t) {
|
|
129
|
-
super(),
|
|
116
|
+
super(), h(this, t, C, $, P, { origins: 0 }, w);
|
|
130
117
|
}
|
|
131
118
|
}
|
|
132
119
|
export {
|
|
133
|
-
|
|
120
|
+
O as default
|
|
134
121
|
};
|
|
@@ -1,38 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { append_styles as j, element as p, space as Y, attr as P, set_style as c, toggle_class as h, insert as I, append as r, listen as L, detach as O } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
-
import { binding_callbacks as q } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
-
import { onMount as A, afterUpdate as E, onDestroy as U } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
5
|
-
import { SvelteComponent as B, init as F } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
1
|
+
import { SvelteComponent as M, init as j, safe_not_equal as I, append_styles as L, element as c, space as Y, attr as P, set_style as p, toggle_class as h, insert as O, append as r, listen as q, noop as D, detach as A, onMount as E, afterUpdate as U, onDestroy as B, binding_callbacks as F } from "../../vendor/svelte/internal/index.js";
|
|
7
2
|
import { currentTarget as G } from "../store.js";
|
|
8
|
-
import "../../vendor/svelte/
|
|
9
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
13
|
-
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
3
|
+
import "../../vendor/svelte/store/index.js";
|
|
14
4
|
function J(i) {
|
|
15
|
-
|
|
5
|
+
L(i, "svelte-9m6drd", `.PanoSpatialTagPlugin__tag-x.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#fff;transform:translate(0, -100%);transition:height 0.5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd.svelte-9m6drd{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity 0.8s 0.6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-9m6drd.svelte-9m6drd{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:0.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1));box-shadow:0 0.1rem 0.5rem rgba(0, 0, 0, 0.2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), opacity 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), width 0.5s linear,
|
|
16
6
|
height 0.5s linear;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0.3rem;height:1.8rem;width:0.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0.5rem;height:1.8rem;width:0.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-line1.svelte-9m6drd{animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line1 linear 0.5s forwards 0.45s}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-line2.svelte-9m6drd{animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line2 linear 0.5s forwards 0.65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd.svelte-9m6drd{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-line.svelte-9m6drd{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-9m6drd.svelte-9m6drd{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform 0.5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-animate.svelte-9m6drd{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-9m6drd.svelte-9m6drd{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform 0.9s cubic-bezier(0, 0.65, 0.16, 1.08) 0.6s;padding-left:0.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{opacity:0.32}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform 0.5s 0.55s, opacity 0.4s 0.55s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{opacity:0;transition:opacity 0.8s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{transform:translate(-100%, 0);transition:transform 0.6s cubic-bezier(0.53, 0.06, 0.88, 0.59)}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-content .svelte-9m6drd{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-line1.svelte-9m6drd{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line1-hide linear 0.28s forwards 0.3s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-line2.svelte-9m6drd{opacity:0.5;transform:translate(-50%, 0) scaleY(0);animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line2-hide linear 0.28s forwards 0.45s}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}`);
|
|
17
7
|
}
|
|
18
8
|
function K(i) {
|
|
19
9
|
let a, n, g, s, u, b, T, w, v, d, m, o, _, S, y;
|
|
20
10
|
return {
|
|
21
11
|
c() {
|
|
22
|
-
a =
|
|
12
|
+
a = c("div"), n = c("div"), g = Y(), s = c("div"), u = c("i"), b = Y(), T = c("i"), w = Y(), v = c("i"), d = Y(), m = c("div"), o = c("div"), P(n, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), p(n, "transform", "translate(" + /*contentWidth*/
|
|
23
13
|
i[7] / 2 * /*contentZoom*/
|
|
24
14
|
i[3] * 3 + "px, " + /*contentHeight*/
|
|
25
15
|
i[8] / 2 * /*upsideDown*/
|
|
26
16
|
(i[1] ? -1 : 1) * /*contentZoom*/
|
|
27
17
|
i[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
28
|
-
i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"),
|
|
18
|
+
i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), p(
|
|
29
19
|
u,
|
|
30
20
|
"width",
|
|
31
21
|
/*lineWidthZoom*/
|
|
32
22
|
i[4] + "rem"
|
|
33
|
-
), P(T, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), P(v, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), P(s, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), P(o, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), P(m, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"),
|
|
23
|
+
), P(T, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), P(v, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), P(s, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), P(o, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), P(m, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"), p(m, "transform", "scale(" + /*contentZoom*/
|
|
34
24
|
i[3] * 3 + ")"), P(a, "id", _ = "PanoSpatialTagPlugin__" + /*id*/
|
|
35
|
-
i[0]),
|
|
25
|
+
i[0]), p(a, "height", 20 * /*lineHeightZoom*/
|
|
36
26
|
i[5] + "rem"), P(a, "class", "svelte-9m6drd"), h(a, "PanoSpatialTagPlugin__tag-x", !0), h(
|
|
37
27
|
a,
|
|
38
28
|
"PanoSpatialTagPlugin__tag-upside-down",
|
|
@@ -52,8 +42,8 @@ function K(i) {
|
|
|
52
42
|
);
|
|
53
43
|
},
|
|
54
44
|
m(e, l) {
|
|
55
|
-
|
|
56
|
-
i[2], i[16](o), S || (y =
|
|
45
|
+
O(e, a, l), r(a, n), r(a, g), r(a, s), r(s, u), r(s, b), r(s, T), r(s, w), r(s, v), r(a, d), r(a, m), r(m, o), o.innerHTML = /*content*/
|
|
46
|
+
i[2], i[16](o), S || (y = q(
|
|
57
47
|
o,
|
|
58
48
|
"click",
|
|
59
49
|
/*handleClickContent*/
|
|
@@ -62,14 +52,14 @@ function K(i) {
|
|
|
62
52
|
},
|
|
63
53
|
p(e, [l]) {
|
|
64
54
|
l & /*contentWidth, contentZoom, contentHeight, upsideDown*/
|
|
65
|
-
394 &&
|
|
55
|
+
394 && p(n, "transform", "translate(" + /*contentWidth*/
|
|
66
56
|
e[7] / 2 * /*contentZoom*/
|
|
67
57
|
e[3] * 3 + "px, " + /*contentHeight*/
|
|
68
58
|
e[8] / 2 * /*upsideDown*/
|
|
69
59
|
(e[1] ? -1 : 1) * /*contentZoom*/
|
|
70
60
|
e[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
71
61
|
e[3] + ")"), l & /*lineWidthZoom*/
|
|
72
|
-
16 &&
|
|
62
|
+
16 && p(
|
|
73
63
|
u,
|
|
74
64
|
"width",
|
|
75
65
|
/*lineWidthZoom*/
|
|
@@ -77,11 +67,11 @@ function K(i) {
|
|
|
77
67
|
), l & /*content*/
|
|
78
68
|
4 && (o.innerHTML = /*content*/
|
|
79
69
|
e[2]), l & /*contentZoom*/
|
|
80
|
-
8 &&
|
|
70
|
+
8 && p(m, "transform", "scale(" + /*contentZoom*/
|
|
81
71
|
e[3] * 3 + ")"), l & /*id*/
|
|
82
72
|
1 && _ !== (_ = "PanoSpatialTagPlugin__" + /*id*/
|
|
83
73
|
e[0]) && P(a, "id", _), l & /*lineHeightZoom*/
|
|
84
|
-
32 &&
|
|
74
|
+
32 && p(a, "height", 20 * /*lineHeightZoom*/
|
|
85
75
|
e[5] + "rem"), l & /*upsideDown*/
|
|
86
76
|
2 && h(
|
|
87
77
|
a,
|
|
@@ -106,7 +96,7 @@ function K(i) {
|
|
|
106
96
|
i: D,
|
|
107
97
|
o: D,
|
|
108
98
|
d(e) {
|
|
109
|
-
e &&
|
|
99
|
+
e && A(a), i[16](null), S = !1, y();
|
|
110
100
|
}
|
|
111
101
|
};
|
|
112
102
|
}
|
|
@@ -135,7 +125,7 @@ function Q(i, a, n) {
|
|
|
135
125
|
}), f = f.parentNode;
|
|
136
126
|
}
|
|
137
127
|
};
|
|
138
|
-
|
|
128
|
+
E(() => {
|
|
139
129
|
_.emit("initTag", { id: g });
|
|
140
130
|
});
|
|
141
131
|
const N = G.subscribe((t) => {
|
|
@@ -149,13 +139,13 @@ function Q(i, a, n) {
|
|
|
149
139
|
1500
|
|
150
140
|
)));
|
|
151
141
|
});
|
|
152
|
-
|
|
142
|
+
U(() => {
|
|
153
143
|
n(7, S = e.offsetWidth), n(8, y = e.offsetHeight), !k && n(10, l = !d);
|
|
154
|
-
}),
|
|
144
|
+
}), B(() => {
|
|
155
145
|
_.emit("destroyTag", { id: g }), N(), m();
|
|
156
146
|
});
|
|
157
147
|
function C(t) {
|
|
158
|
-
|
|
148
|
+
F[t ? "unshift" : "push"](() => {
|
|
159
149
|
e = t, n(9, e);
|
|
160
150
|
});
|
|
161
151
|
}
|
|
@@ -181,14 +171,14 @@ function Q(i, a, n) {
|
|
|
181
171
|
C
|
|
182
172
|
];
|
|
183
173
|
}
|
|
184
|
-
class
|
|
174
|
+
class x extends M {
|
|
185
175
|
constructor(a) {
|
|
186
|
-
super(),
|
|
176
|
+
super(), j(
|
|
187
177
|
this,
|
|
188
178
|
a,
|
|
189
179
|
Q,
|
|
190
180
|
K,
|
|
191
|
-
|
|
181
|
+
I,
|
|
192
182
|
{
|
|
193
183
|
id: 0,
|
|
194
184
|
upsideDown: 1,
|
|
@@ -207,5 +197,5 @@ class ra extends B {
|
|
|
207
197
|
}
|
|
208
198
|
}
|
|
209
199
|
export {
|
|
210
|
-
|
|
200
|
+
x as default
|
|
211
201
|
};
|