@realsee/dnalogel 3.31.1 → 3.32.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,107 +1,120 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
1
|
+
import { safe_not_equal as X } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { element as Z, insert as $, detach as tt, destroy_each as et } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as z, check_outros as nt, transition_out as Y, group_outros as ot } from "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { onMount as rt, onDestroy as st } from "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
5
|
+
import { ensure_array_like as J } from "../vendor/svelte/src/runtime/internal/each.js";
|
|
6
|
+
import { SvelteComponent as at, init as it, create_component as ct, mount_component as lt, destroy_component as ft } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
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";
|
|
8
14
|
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";
|
|
9
20
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
21
|
import "../shared-utils/isTruelyObject.js";
|
|
11
|
-
function
|
|
12
|
-
const t =
|
|
13
|
-
return t[12] = r[
|
|
22
|
+
function K(d, r, c) {
|
|
23
|
+
const t = d.slice();
|
|
24
|
+
return t[12] = r[c], t;
|
|
14
25
|
}
|
|
15
|
-
function
|
|
16
|
-
let r,
|
|
26
|
+
function N(d) {
|
|
27
|
+
let r, c;
|
|
17
28
|
return r = new dt({
|
|
18
29
|
props: { rulerItemProp: (
|
|
19
30
|
/*itemData*/
|
|
20
|
-
|
|
31
|
+
d[12]
|
|
21
32
|
) }
|
|
22
33
|
}), {
|
|
23
34
|
c() {
|
|
24
|
-
|
|
35
|
+
ct(r.$$.fragment);
|
|
25
36
|
},
|
|
26
37
|
m(t, e) {
|
|
27
|
-
|
|
38
|
+
lt(r, t, e), c = !0;
|
|
28
39
|
},
|
|
29
40
|
p(t, e) {
|
|
30
|
-
const
|
|
41
|
+
const y = {};
|
|
31
42
|
e & /*rulerItemProp*/
|
|
32
|
-
1 && (
|
|
33
|
-
t[12]), r.$set(
|
|
43
|
+
1 && (y.rulerItemProp = /*itemData*/
|
|
44
|
+
t[12]), r.$set(y);
|
|
34
45
|
},
|
|
35
46
|
i(t) {
|
|
36
|
-
|
|
47
|
+
c || (z(r.$$.fragment, t), c = !0);
|
|
37
48
|
},
|
|
38
49
|
o(t) {
|
|
39
|
-
|
|
50
|
+
Y(r.$$.fragment, t), c = !1;
|
|
40
51
|
},
|
|
41
52
|
d(t) {
|
|
42
|
-
|
|
53
|
+
ft(r, t);
|
|
43
54
|
}
|
|
44
55
|
};
|
|
45
56
|
}
|
|
46
|
-
function
|
|
47
|
-
let r,
|
|
57
|
+
function gt(d) {
|
|
58
|
+
let r, c, t = J(
|
|
48
59
|
/*rulerItemProp*/
|
|
49
|
-
|
|
60
|
+
d[0]
|
|
50
61
|
), e = [];
|
|
51
62
|
for (let o = 0; o < t.length; o += 1)
|
|
52
|
-
e[o] = K(
|
|
53
|
-
const
|
|
63
|
+
e[o] = N(K(d, t, o));
|
|
64
|
+
const y = (o) => Y(e[o], 1, 1, () => {
|
|
54
65
|
e[o] = null;
|
|
55
66
|
});
|
|
56
67
|
return {
|
|
57
68
|
c() {
|
|
58
|
-
r =
|
|
69
|
+
r = Z("div");
|
|
59
70
|
for (let o = 0; o < e.length; o += 1)
|
|
60
71
|
e[o].c();
|
|
61
72
|
},
|
|
62
73
|
m(o, a) {
|
|
63
|
-
|
|
74
|
+
$(o, r, a);
|
|
64
75
|
for (let n = 0; n < e.length; n += 1)
|
|
65
76
|
e[n] && e[n].m(r, null);
|
|
66
|
-
|
|
77
|
+
c = !0;
|
|
67
78
|
},
|
|
68
79
|
p(o, [a]) {
|
|
69
80
|
if (a & /*rulerItemProp*/
|
|
70
81
|
1) {
|
|
71
|
-
t =
|
|
72
|
-
|
|
82
|
+
t = J(
|
|
83
|
+
/*rulerItemProp*/
|
|
84
|
+
o[0]
|
|
85
|
+
);
|
|
73
86
|
let n;
|
|
74
87
|
for (n = 0; n < t.length; n += 1) {
|
|
75
|
-
const A =
|
|
76
|
-
e[n] ? (e[n].p(A, a),
|
|
88
|
+
const A = K(o, t, n);
|
|
89
|
+
e[n] ? (e[n].p(A, a), z(e[n], 1)) : (e[n] = N(A), e[n].c(), z(e[n], 1), e[n].m(r, null));
|
|
77
90
|
}
|
|
78
|
-
for (
|
|
79
|
-
|
|
80
|
-
|
|
91
|
+
for (ot(), n = t.length; n < e.length; n += 1)
|
|
92
|
+
y(n);
|
|
93
|
+
nt();
|
|
81
94
|
}
|
|
82
95
|
},
|
|
83
96
|
i(o) {
|
|
84
|
-
if (!
|
|
97
|
+
if (!c) {
|
|
85
98
|
for (let a = 0; a < t.length; a += 1)
|
|
86
|
-
|
|
87
|
-
|
|
99
|
+
z(e[a]);
|
|
100
|
+
c = !0;
|
|
88
101
|
}
|
|
89
102
|
},
|
|
90
103
|
o(o) {
|
|
91
104
|
e = e.filter(Boolean);
|
|
92
105
|
for (let a = 0; a < e.length; a += 1)
|
|
93
|
-
|
|
94
|
-
|
|
106
|
+
Y(e[a]);
|
|
107
|
+
c = !1;
|
|
95
108
|
},
|
|
96
109
|
d(o) {
|
|
97
|
-
o &&
|
|
110
|
+
o && tt(r), et(e, o);
|
|
98
111
|
}
|
|
99
112
|
};
|
|
100
113
|
}
|
|
101
|
-
function
|
|
114
|
+
function xt(d, r, c) {
|
|
102
115
|
var B, G, H, U;
|
|
103
|
-
let { five: t } = r, { rulerDatas: e } = r, { options:
|
|
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 = (
|
|
116
|
+
let { five: t } = r, { rulerDatas: e } = r, { options: y } = r, o = [];
|
|
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 = (i, l) => {
|
|
105
118
|
const f = [
|
|
106
119
|
[{ x: 0, y: 0 }, { x: a, y: 0 }],
|
|
107
120
|
[{ x: 0, y: 0 }, { x: 0, y: n }],
|
|
@@ -109,56 +122,56 @@ function gt(p, r, i) {
|
|
|
109
122
|
[{ x: 0, y: n }, { x: a, y: n }]
|
|
110
123
|
], u = [];
|
|
111
124
|
for (let h = 0; h < f.length; h++) {
|
|
112
|
-
const g =
|
|
125
|
+
const g = ht([i, l], [f[h][0], f[h][1]], !0);
|
|
113
126
|
g && u.push(g);
|
|
114
127
|
}
|
|
115
128
|
return u.length === 0 ? !1 : u;
|
|
116
|
-
}, j = (
|
|
117
|
-
const f =
|
|
129
|
+
}, j = (i, l) => {
|
|
130
|
+
const f = i.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, M = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(M - h, 2));
|
|
118
131
|
return {
|
|
119
132
|
startLeft: u,
|
|
120
133
|
startTop: h,
|
|
121
134
|
endLeft: L,
|
|
122
|
-
endTop:
|
|
135
|
+
endTop: M,
|
|
123
136
|
distance: s
|
|
124
137
|
};
|
|
125
|
-
},
|
|
126
|
-
const u = t.camera.position, h = t.camera.getWorldDirection(new
|
|
138
|
+
}, O = (i, l, f) => {
|
|
139
|
+
const u = t.camera.position, h = t.camera.getWorldDirection(new _()), g = i.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), M = i.distanceTo(l), T = l.clone().sub(l.clone().sub(i).divide(new _(2, 2, 2))).distanceTo(u), { startLeft: p, startTop: x, endLeft: v, endTop: q, distance: D } = j(i, l), C = -((Math.PI / 2 - Math.atan2(v - p, x - q)) / Math.PI) * 180;
|
|
127
140
|
let P = !0;
|
|
128
|
-
f || (P = !1), !
|
|
141
|
+
f || (P = !1), !k(i, f) && !k(l, f) && (P = !1), M < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / M > 8 && (P = !1);
|
|
129
142
|
let I = 50, b = D;
|
|
130
|
-
const m = A({ x: ~~
|
|
131
|
-
if (m && m.length === 1 && (
|
|
143
|
+
const m = A({ x: ~~p, y: ~~x }, { x: ~~v, y: ~~q });
|
|
144
|
+
if (m && m.length === 1 && (k(i, f) ? (b = Math.sqrt(Math.pow(m[0].x - p, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : k(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) {
|
|
132
145
|
const F = {
|
|
133
146
|
x: (m[0].x + m[1].x) / 2,
|
|
134
147
|
y: (m[0].y + m[1].y) / 2
|
|
135
148
|
};
|
|
136
|
-
I = Math.sqrt(Math.pow(F.x -
|
|
149
|
+
I = Math.sqrt(Math.pow(F.x - p, 2) + Math.pow(F.y - x, 2)) / D * 100;
|
|
137
150
|
}
|
|
138
151
|
return {
|
|
139
|
-
startLeft:
|
|
152
|
+
startLeft: p,
|
|
140
153
|
startTop: x,
|
|
141
154
|
distance: D,
|
|
142
|
-
deg:
|
|
155
|
+
deg: C,
|
|
143
156
|
visible: P,
|
|
144
157
|
labelOffset: I,
|
|
145
|
-
ruleLength:
|
|
158
|
+
ruleLength: M
|
|
146
159
|
};
|
|
147
|
-
},
|
|
148
|
-
const
|
|
160
|
+
}, w = () => {
|
|
161
|
+
const i = t.panoIndex, l = e.find((s) => s.panoIndex === i);
|
|
149
162
|
if (!l)
|
|
150
|
-
return
|
|
151
|
-
if (t.currentMode !==
|
|
152
|
-
return
|
|
153
|
-
const f = t.camera.position, u = t.camera.getWorldDirection(new
|
|
154
|
-
const
|
|
155
|
-
return
|
|
156
|
-
}),
|
|
163
|
+
return c(0, o = []);
|
|
164
|
+
if (t.currentMode !== mt.Mode.Panorama)
|
|
165
|
+
return c(0, o = []);
|
|
166
|
+
const f = t.camera.position, u = t.camera.getWorldDirection(new _()), h = l.lines.map((s) => new _(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new _(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
|
|
167
|
+
const p = 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));
|
|
168
|
+
return p - x;
|
|
169
|
+
}), M = l.lines.map((s) => {
|
|
157
170
|
var b, m;
|
|
158
|
-
const T = s.start,
|
|
171
|
+
const T = s.start, p = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: C, ruleLength: P } = O(new _(T[0], -T[1], -T[2]), new _(p[0], -p[1], -p[2]), L), I = [];
|
|
159
172
|
return s.children && ((b = s.children) == null ? void 0 : b.length) > 0 && ((m = s.children) == null || m.forEach((F) => {
|
|
160
|
-
const W = F.start,
|
|
161
|
-
I.push({ width:
|
|
173
|
+
const W = F.start, S = F.end, { distance: Q } = j(new _(W[0], -W[1], -W[2]), new _(S[0], -S[1], -S[2]));
|
|
174
|
+
I.push({ width: Q, state: F.state });
|
|
162
175
|
})), {
|
|
163
176
|
width: q,
|
|
164
177
|
left: x,
|
|
@@ -166,26 +179,26 @@ function gt(p, r, i) {
|
|
|
166
179
|
rotateDeg: D,
|
|
167
180
|
state: s.state,
|
|
168
181
|
children: I,
|
|
169
|
-
labelOffset:
|
|
182
|
+
labelOffset: C,
|
|
170
183
|
visible: V,
|
|
171
|
-
labelElement:
|
|
184
|
+
labelElement: y.distanceText(P)
|
|
172
185
|
};
|
|
173
186
|
});
|
|
174
|
-
|
|
175
|
-
}, E = () =>
|
|
187
|
+
c(0, o = M);
|
|
188
|
+
}, E = () => ut(w), R = pt(w, 80);
|
|
176
189
|
return rt(() => {
|
|
177
|
-
|
|
190
|
+
w(), t.on("panoArrived", w), t.on("modeChange", w), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
|
|
178
191
|
}), st(() => {
|
|
179
|
-
t.off("panoArrived",
|
|
180
|
-
}),
|
|
181
|
-
"five" in
|
|
182
|
-
}, [o, t, e,
|
|
192
|
+
t.off("panoArrived", w), t.off("modeChange", w), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
|
|
193
|
+
}), d.$$set = (i) => {
|
|
194
|
+
"five" in i && c(1, t = i.five), "rulerDatas" in i && c(2, e = i.rulerDatas), "options" in i && c(3, y = i.options);
|
|
195
|
+
}, [o, t, e, y];
|
|
183
196
|
}
|
|
184
|
-
class
|
|
197
|
+
class Yt extends at {
|
|
185
198
|
constructor(r) {
|
|
186
|
-
super(),
|
|
199
|
+
super(), it(this, r, xt, gt, X, { five: 1, rulerDatas: 2, options: 3 });
|
|
187
200
|
}
|
|
188
201
|
}
|
|
189
202
|
export {
|
|
190
|
-
|
|
203
|
+
Yt as default
|
|
191
204
|
};
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
2
|
import "./RulerItems.js";
|
|
3
|
-
import "../vendor/svelte/internal/
|
|
3
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
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";
|
|
4
15
|
import "@realsee/five";
|
|
5
16
|
import "../shared-utils/animationFrame/index.js";
|
|
6
17
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -10,8 +21,8 @@ import "../shared-utils/math/planimetry.js";
|
|
|
10
21
|
import "../shared-utils/throttle.js";
|
|
11
22
|
import "three";
|
|
12
23
|
import "./RulerItem.js";
|
|
13
|
-
const
|
|
24
|
+
const v = (r, o) => new t(r, o);
|
|
14
25
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
26
|
+
v as PanoRulerProPlugin,
|
|
27
|
+
v as default
|
|
17
28
|
};
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../../vendor/svelte/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { safe_not_equal as h, noop as m } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as P, empty as y, insert as u, detach as d, destroy_each as v, element as S, attr as T, toggle_class as f, set_style as g, listen as b } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { ensure_array_like as p } from "../../vendor/svelte/src/runtime/internal/each.js";
|
|
4
|
+
import { SvelteComponent as k, init as z } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
5
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
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}}");
|
|
6
17
|
}
|
|
7
|
-
function
|
|
18
|
+
function c(n, t, o) {
|
|
8
19
|
const e = n.slice();
|
|
9
20
|
return e[3] = t[o], e;
|
|
10
21
|
}
|
|
11
|
-
function
|
|
22
|
+
function _(n) {
|
|
12
23
|
let t, o = `${/*origin*/
|
|
13
24
|
n[3].top}%`, e = `${/*origin*/
|
|
14
|
-
n[3].left}%`, a,
|
|
25
|
+
n[3].left}%`, a, r;
|
|
15
26
|
function i() {
|
|
16
27
|
return (
|
|
17
28
|
/*click_handler*/
|
|
@@ -23,7 +34,7 @@ function m(n) {
|
|
|
23
34
|
}
|
|
24
35
|
return {
|
|
25
36
|
c() {
|
|
26
|
-
t =
|
|
37
|
+
t = S("i"), T(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(
|
|
27
38
|
t,
|
|
28
39
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
29
40
|
/*origin*/
|
|
@@ -35,11 +46,11 @@ function m(n) {
|
|
|
35
46
|
n[3].front ? "visible" : "hidden"
|
|
36
47
|
);
|
|
37
48
|
},
|
|
38
|
-
m(
|
|
39
|
-
|
|
49
|
+
m(l, s) {
|
|
50
|
+
u(l, t, s), a || (r = b(t, "click", i), a = !0);
|
|
40
51
|
},
|
|
41
|
-
p(
|
|
42
|
-
n =
|
|
52
|
+
p(l, s) {
|
|
53
|
+
n = l, s & /*origins*/
|
|
43
54
|
1 && f(
|
|
44
55
|
t,
|
|
45
56
|
"PanoSpatialTagPlugin__tag-origin-destroy",
|
|
@@ -57,65 +68,67 @@ function m(n) {
|
|
|
57
68
|
n[3].front ? "visible" : "hidden"
|
|
58
69
|
);
|
|
59
70
|
},
|
|
60
|
-
d(
|
|
61
|
-
|
|
71
|
+
d(l) {
|
|
72
|
+
l && d(t), a = !1, r();
|
|
62
73
|
}
|
|
63
74
|
};
|
|
64
75
|
}
|
|
65
|
-
function
|
|
66
|
-
let t, o = (
|
|
76
|
+
function C(n) {
|
|
77
|
+
let t, o = p(
|
|
67
78
|
/*origins*/
|
|
68
79
|
n[0]
|
|
69
80
|
), e = [];
|
|
70
81
|
for (let a = 0; a < o.length; a += 1)
|
|
71
|
-
e[a] =
|
|
82
|
+
e[a] = _(c(n, o, a));
|
|
72
83
|
return {
|
|
73
84
|
c() {
|
|
74
85
|
for (let a = 0; a < e.length; a += 1)
|
|
75
86
|
e[a].c();
|
|
76
|
-
t =
|
|
87
|
+
t = y();
|
|
77
88
|
},
|
|
78
|
-
m(a,
|
|
89
|
+
m(a, r) {
|
|
79
90
|
for (let i = 0; i < e.length; i += 1)
|
|
80
|
-
e[i] && e[i].m(a,
|
|
81
|
-
|
|
91
|
+
e[i] && e[i].m(a, r);
|
|
92
|
+
u(a, t, r);
|
|
82
93
|
},
|
|
83
|
-
p(a, [
|
|
84
|
-
if (
|
|
94
|
+
p(a, [r]) {
|
|
95
|
+
if (r & /*origins, handleClick*/
|
|
85
96
|
3) {
|
|
86
|
-
o =
|
|
87
|
-
|
|
97
|
+
o = p(
|
|
98
|
+
/*origins*/
|
|
99
|
+
a[0]
|
|
100
|
+
);
|
|
88
101
|
let i;
|
|
89
102
|
for (i = 0; i < o.length; i += 1) {
|
|
90
|
-
const
|
|
91
|
-
e[i] ? e[i].p(
|
|
103
|
+
const l = c(a, o, i);
|
|
104
|
+
e[i] ? e[i].p(l, r) : (e[i] = _(l), e[i].c(), e[i].m(t.parentNode, t));
|
|
92
105
|
}
|
|
93
106
|
for (; i < e.length; i += 1)
|
|
94
107
|
e[i].d(1);
|
|
95
108
|
e.length = o.length;
|
|
96
109
|
}
|
|
97
110
|
},
|
|
98
|
-
i:
|
|
99
|
-
o:
|
|
111
|
+
i: m,
|
|
112
|
+
o: m,
|
|
100
113
|
d(a) {
|
|
101
|
-
|
|
114
|
+
a && d(t), v(e, a);
|
|
102
115
|
}
|
|
103
116
|
};
|
|
104
117
|
}
|
|
105
|
-
function
|
|
118
|
+
function q(n, t, o) {
|
|
106
119
|
let { origins: e } = t;
|
|
107
120
|
const a = (i) => {
|
|
108
|
-
|
|
109
|
-
},
|
|
121
|
+
w.update(() => `${i}-PanoSpatialTagPlugin-${Date.now()}`);
|
|
122
|
+
}, r = (i) => a(i.id);
|
|
110
123
|
return n.$$set = (i) => {
|
|
111
124
|
"origins" in i && o(0, e = i.origins);
|
|
112
|
-
}, [e, a,
|
|
125
|
+
}, [e, a, r];
|
|
113
126
|
}
|
|
114
|
-
class
|
|
127
|
+
class M extends k {
|
|
115
128
|
constructor(t) {
|
|
116
|
-
super(),
|
|
129
|
+
super(), z(this, t, q, C, h, { origins: 0 }, $);
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
export {
|
|
120
|
-
|
|
133
|
+
M as default
|
|
121
134
|
};
|
|
@@ -1,28 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as M, noop as D } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
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";
|
|
2
7
|
import { currentTarget as G } from "../store.js";
|
|
3
|
-
import "../../vendor/svelte/
|
|
8
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
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";
|
|
4
14
|
function J(i) {
|
|
5
|
-
|
|
15
|
+
j(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,
|
|
6
16
|
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)}}`);
|
|
7
17
|
}
|
|
8
18
|
function K(i) {
|
|
9
19
|
let a, n, g, s, u, b, T, w, v, d, m, o, _, S, y;
|
|
10
20
|
return {
|
|
11
21
|
c() {
|
|
12
|
-
a =
|
|
22
|
+
a = p("div"), n = p("div"), g = Y(), s = p("div"), u = p("i"), b = Y(), T = p("i"), w = Y(), v = p("i"), d = Y(), m = p("div"), o = p("div"), P(n, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), c(n, "transform", "translate(" + /*contentWidth*/
|
|
13
23
|
i[7] / 2 * /*contentZoom*/
|
|
14
24
|
i[3] * 3 + "px, " + /*contentHeight*/
|
|
15
25
|
i[8] / 2 * /*upsideDown*/
|
|
16
26
|
(i[1] ? -1 : 1) * /*contentZoom*/
|
|
17
27
|
i[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
18
|
-
i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"),
|
|
28
|
+
i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), c(
|
|
19
29
|
u,
|
|
20
30
|
"width",
|
|
21
31
|
/*lineWidthZoom*/
|
|
22
32
|
i[4] + "rem"
|
|
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"),
|
|
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"), c(m, "transform", "scale(" + /*contentZoom*/
|
|
24
34
|
i[3] * 3 + ")"), P(a, "id", _ = "PanoSpatialTagPlugin__" + /*id*/
|
|
25
|
-
i[0]),
|
|
35
|
+
i[0]), c(a, "height", 20 * /*lineHeightZoom*/
|
|
26
36
|
i[5] + "rem"), P(a, "class", "svelte-9m6drd"), h(a, "PanoSpatialTagPlugin__tag-x", !0), h(
|
|
27
37
|
a,
|
|
28
38
|
"PanoSpatialTagPlugin__tag-upside-down",
|
|
@@ -42,8 +52,8 @@ function K(i) {
|
|
|
42
52
|
);
|
|
43
53
|
},
|
|
44
54
|
m(e, l) {
|
|
45
|
-
|
|
46
|
-
i[2], i[16](o), S || (y =
|
|
55
|
+
I(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*/
|
|
56
|
+
i[2], i[16](o), S || (y = L(
|
|
47
57
|
o,
|
|
48
58
|
"click",
|
|
49
59
|
/*handleClickContent*/
|
|
@@ -52,14 +62,14 @@ function K(i) {
|
|
|
52
62
|
},
|
|
53
63
|
p(e, [l]) {
|
|
54
64
|
l & /*contentWidth, contentZoom, contentHeight, upsideDown*/
|
|
55
|
-
394 &&
|
|
65
|
+
394 && c(n, "transform", "translate(" + /*contentWidth*/
|
|
56
66
|
e[7] / 2 * /*contentZoom*/
|
|
57
67
|
e[3] * 3 + "px, " + /*contentHeight*/
|
|
58
68
|
e[8] / 2 * /*upsideDown*/
|
|
59
69
|
(e[1] ? -1 : 1) * /*contentZoom*/
|
|
60
70
|
e[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
|
|
61
71
|
e[3] + ")"), l & /*lineWidthZoom*/
|
|
62
|
-
16 &&
|
|
72
|
+
16 && c(
|
|
63
73
|
u,
|
|
64
74
|
"width",
|
|
65
75
|
/*lineWidthZoom*/
|
|
@@ -67,11 +77,11 @@ function K(i) {
|
|
|
67
77
|
), l & /*content*/
|
|
68
78
|
4 && (o.innerHTML = /*content*/
|
|
69
79
|
e[2]), l & /*contentZoom*/
|
|
70
|
-
8 &&
|
|
80
|
+
8 && c(m, "transform", "scale(" + /*contentZoom*/
|
|
71
81
|
e[3] * 3 + ")"), l & /*id*/
|
|
72
82
|
1 && _ !== (_ = "PanoSpatialTagPlugin__" + /*id*/
|
|
73
83
|
e[0]) && P(a, "id", _), l & /*lineHeightZoom*/
|
|
74
|
-
32 &&
|
|
84
|
+
32 && c(a, "height", 20 * /*lineHeightZoom*/
|
|
75
85
|
e[5] + "rem"), l & /*upsideDown*/
|
|
76
86
|
2 && h(
|
|
77
87
|
a,
|
|
@@ -96,7 +106,7 @@ function K(i) {
|
|
|
96
106
|
i: D,
|
|
97
107
|
o: D,
|
|
98
108
|
d(e) {
|
|
99
|
-
e &&
|
|
109
|
+
e && O(a), i[16](null), S = !1, y();
|
|
100
110
|
}
|
|
101
111
|
};
|
|
102
112
|
}
|
|
@@ -125,7 +135,7 @@ function Q(i, a, n) {
|
|
|
125
135
|
}), f = f.parentNode;
|
|
126
136
|
}
|
|
127
137
|
};
|
|
128
|
-
|
|
138
|
+
A(() => {
|
|
129
139
|
_.emit("initTag", { id: g });
|
|
130
140
|
});
|
|
131
141
|
const N = G.subscribe((t) => {
|
|
@@ -139,13 +149,13 @@ function Q(i, a, n) {
|
|
|
139
149
|
1500
|
|
140
150
|
)));
|
|
141
151
|
});
|
|
142
|
-
|
|
152
|
+
E(() => {
|
|
143
153
|
n(7, S = e.offsetWidth), n(8, y = e.offsetHeight), !k && n(10, l = !d);
|
|
144
|
-
}),
|
|
154
|
+
}), U(() => {
|
|
145
155
|
_.emit("destroyTag", { id: g }), N(), m();
|
|
146
156
|
});
|
|
147
157
|
function C(t) {
|
|
148
|
-
|
|
158
|
+
q[t ? "unshift" : "push"](() => {
|
|
149
159
|
e = t, n(9, e);
|
|
150
160
|
});
|
|
151
161
|
}
|
|
@@ -171,14 +181,14 @@ function Q(i, a, n) {
|
|
|
171
181
|
C
|
|
172
182
|
];
|
|
173
183
|
}
|
|
174
|
-
class
|
|
184
|
+
class ra extends B {
|
|
175
185
|
constructor(a) {
|
|
176
|
-
super(),
|
|
186
|
+
super(), F(
|
|
177
187
|
this,
|
|
178
188
|
a,
|
|
179
189
|
Q,
|
|
180
190
|
K,
|
|
181
|
-
|
|
191
|
+
M,
|
|
182
192
|
{
|
|
183
193
|
id: 0,
|
|
184
194
|
upsideDown: 1,
|
|
@@ -197,5 +207,5 @@ class x extends M {
|
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
209
|
export {
|
|
200
|
-
|
|
210
|
+
ra as default
|
|
201
211
|
};
|