@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,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (
|
|
3
|
-
var
|
|
2
|
+
var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
|
+
var e = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -9,19 +9,8 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
|
|
|
9
9
|
import w from "./Revoke/index.js";
|
|
10
10
|
import _ from "../../Components/Controller0.js";
|
|
11
11
|
import b from "../../Components/Controller1.js";
|
|
12
|
-
import "../../../vendor/svelte/
|
|
13
|
-
import "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
14
|
-
import "../../../vendor/svelte/src/runtime/internal/transitions.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/runtime/internal/lifecycle.js";
|
|
20
|
-
import "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
21
|
-
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
22
|
-
import "../../../vendor/svelte/src/shared/version.js";
|
|
12
|
+
import "../../../vendor/svelte/internal/index.js";
|
|
23
13
|
import "../../Components/Common/Switcher0.js";
|
|
24
|
-
import "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
25
14
|
import "../../Components/Common/Exit.js";
|
|
26
15
|
import "../../Controller/EditController.js";
|
|
27
16
|
import "../../Model/line.js";
|
|
@@ -79,8 +68,8 @@ import "../../../shared-utils/three/PointDomHelper.js";
|
|
|
79
68
|
import "../rangePiece/html.js";
|
|
80
69
|
import "../../../CSS3DRenderPlugin/index.js";
|
|
81
70
|
import "../../../CSS3DRenderPlugin/Controller.js";
|
|
82
|
-
import "../../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
83
71
|
import "../../../shared-utils/url/absoluteUrl.js";
|
|
72
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
84
73
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
85
74
|
import "../../../shared-utils/animationFrame/index.js";
|
|
86
75
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -94,44 +83,44 @@ import "../../utils/math.js";
|
|
|
94
83
|
import "../../Components/Common/icons/index.js";
|
|
95
84
|
import "../../Components/Common/Switcher1.js";
|
|
96
85
|
import "../../Components/Common/CircleButton.js";
|
|
97
|
-
import "../../../vendor/svelte/
|
|
98
|
-
import "../../../vendor/svelte/
|
|
99
|
-
class
|
|
86
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
87
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
88
|
+
class io {
|
|
100
89
|
constructor(o, t) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
90
|
+
e(this, "revoke");
|
|
91
|
+
e(this, "container");
|
|
92
|
+
e(this, "mainController");
|
|
93
|
+
e(this, "disposers", []);
|
|
94
|
+
e(this, "measureController");
|
|
95
|
+
e(this, "mode");
|
|
96
|
+
e(this, "svelteDom");
|
|
97
|
+
e(this, "_params");
|
|
98
|
+
e(this, "handleExit", () => {
|
|
110
99
|
const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
111
100
|
if (!t || !o)
|
|
112
101
|
throw new Error("cannot find dom");
|
|
113
102
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
114
|
-
const
|
|
103
|
+
const i = () => {
|
|
115
104
|
t.style.opacity = "1";
|
|
116
105
|
}, s = () => {
|
|
117
106
|
t.style.opacity = "0.85";
|
|
118
107
|
}, n = () => {
|
|
119
108
|
this.measureController.disable();
|
|
120
109
|
};
|
|
121
|
-
return t.addEventListener("click", n), t.addEventListener("mouseenter",
|
|
122
|
-
t.removeEventListener("click", n), t.removeEventListener("mouseenter",
|
|
110
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", i), t.addEventListener("mouseleave", s), () => {
|
|
111
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", i), t.removeEventListener("mouseleave", s);
|
|
123
112
|
};
|
|
124
113
|
});
|
|
125
114
|
var s, n;
|
|
126
115
|
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
127
|
-
const
|
|
128
|
-
if (
|
|
116
|
+
const i = (n = t.useNewUI) != null ? n : !1;
|
|
117
|
+
if (i && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
129
118
|
target: t.container,
|
|
130
119
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
131
120
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
132
121
|
target: t.container,
|
|
133
122
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
134
|
-
}))), !
|
|
123
|
+
}))), !i) {
|
|
135
124
|
t.container.appendChild(this.container);
|
|
136
125
|
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
137
126
|
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
@@ -146,9 +135,9 @@ class yo {
|
|
|
146
135
|
}
|
|
147
136
|
hide() {
|
|
148
137
|
var o, t;
|
|
149
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
138
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
|
|
150
139
|
}
|
|
151
140
|
}
|
|
152
141
|
export {
|
|
153
|
-
|
|
142
|
+
io as UIController
|
|
154
143
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { Magnifier as
|
|
2
|
+
import { Magnifier as $o } from "../shared-utils/three/Magnifier.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
6
6
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
7
|
import "@realsee/five";
|
|
8
8
|
import "animejs";
|
|
9
|
-
import { Model as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { Polyline as
|
|
9
|
+
import { Model as rr } from "./Model/index.js";
|
|
10
|
+
import { default as ir } from "./Model/point.js";
|
|
11
|
+
import { default as pr } from "./Model/line.js";
|
|
12
|
+
import { Polyline as nr } from "./Model/polyline.js";
|
|
13
13
|
import "./Controller/EditController.js";
|
|
14
14
|
import "../shared-utils/throttle.js";
|
|
15
15
|
import "./Controller/BaseController.js";
|
|
@@ -56,8 +56,8 @@ import "../shared-utils/three/PointDomHelper.js";
|
|
|
56
56
|
import "./Modules/rangePiece/html.js";
|
|
57
57
|
import "../CSS3DRenderPlugin/index.js";
|
|
58
58
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
59
|
-
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
60
59
|
import "../shared-utils/url/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
61
61
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
62
62
|
import "../shared-utils/animationFrame/index.js";
|
|
63
63
|
import "../shared-utils/isTouchDevice.js";
|
|
@@ -88,40 +88,29 @@ import "./Modules/UIController/MainBtnController.js";
|
|
|
88
88
|
import "./Modules/UIController/mobileMainBtnController.js";
|
|
89
89
|
import "./Modules/UIController/Revoke/index.js";
|
|
90
90
|
import "./Components/Controller0.js";
|
|
91
|
-
import "../vendor/svelte/
|
|
92
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
93
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
94
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
95
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
96
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
97
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
98
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
99
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
100
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
101
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
91
|
+
import "../vendor/svelte/internal/index.js";
|
|
102
92
|
import "./Components/Common/Switcher0.js";
|
|
103
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
104
93
|
import "./Components/Common/Exit.js";
|
|
105
94
|
import "./Components/Common/icons/index.js";
|
|
106
95
|
import "./Components/Controller1.js";
|
|
107
96
|
import "./Components/Common/Switcher1.js";
|
|
108
97
|
import "./Components/Common/CircleButton.js";
|
|
109
|
-
import "../vendor/svelte/
|
|
110
|
-
import "../vendor/svelte/
|
|
98
|
+
import "../vendor/svelte/transition/index.js";
|
|
99
|
+
import "../vendor/svelte/easing/index.js";
|
|
111
100
|
import "./Modules/GuideController.js";
|
|
112
101
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
113
102
|
import "./Components/Tip.js";
|
|
114
103
|
import "./Controller/ShortcutKeyController.js";
|
|
115
104
|
import "../shared-utils/safeObj.js";
|
|
116
|
-
const
|
|
105
|
+
const Yo = function(o, r) {
|
|
117
106
|
return new t(o, r);
|
|
118
107
|
};
|
|
119
108
|
export {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
109
|
+
$o as Magnifier,
|
|
110
|
+
Yo as PanoMeasurePlugin,
|
|
111
|
+
pr as PanoMeasurePluginLine,
|
|
112
|
+
rr as PanoMeasurePluginModel,
|
|
113
|
+
ir as PanoMeasurePluginPoint,
|
|
114
|
+
nr as PanoMeasurePluginPolyline,
|
|
115
|
+
Yo as default
|
|
127
116
|
};
|
|
@@ -1,44 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var f = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var p = (i, t, e) => t in i ? m(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, c = (i, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
|
-
v.call(t, e) &&
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
b.call(t, e) &&
|
|
6
|
+
v.call(t, e) && p(i, e, t[e]);
|
|
7
|
+
if (f)
|
|
8
|
+
for (var e of f(t))
|
|
9
|
+
b.call(t, e) && p(i, e, t[e]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var r = (i, t, e) => (p(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
var d = (i, t, e) => new Promise((a, o) => {
|
|
14
|
-
var n = (
|
|
14
|
+
var n = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
o(
|
|
16
|
+
h(e.next(s));
|
|
17
|
+
} catch (u) {
|
|
18
|
+
o(u);
|
|
19
19
|
}
|
|
20
|
-
}, l = (
|
|
20
|
+
}, l = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
o(
|
|
22
|
+
h(e.throw(s));
|
|
23
|
+
} catch (u) {
|
|
24
|
+
o(u);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, h = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(n, l);
|
|
27
|
+
h((e = e.apply(i, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import I from "./RulerItems.js";
|
|
30
|
-
import "../vendor/svelte/
|
|
31
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
32
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
33
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
34
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
35
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
36
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
37
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
38
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
39
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
40
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
41
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
30
|
+
import "../vendor/svelte/internal/index.js";
|
|
42
31
|
import "@realsee/five";
|
|
43
32
|
import "../shared-utils/animationFrame/index.js";
|
|
44
33
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -48,13 +37,13 @@ import "../shared-utils/math/planimetry.js";
|
|
|
48
37
|
import "../shared-utils/throttle.js";
|
|
49
38
|
import "three";
|
|
50
39
|
import "./RulerItem.js";
|
|
51
|
-
class
|
|
40
|
+
class A {
|
|
52
41
|
constructor(t, e) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
42
|
+
r(this, "five");
|
|
43
|
+
r(this, "container", document.createElement("div"));
|
|
44
|
+
r(this, "panoRulerProData");
|
|
45
|
+
r(this, "rulerItems");
|
|
46
|
+
r(this, "state", {
|
|
58
47
|
enabled: !1,
|
|
59
48
|
loaded: !1,
|
|
60
49
|
options: {
|
|
@@ -66,7 +55,7 @@ class K {
|
|
|
66
55
|
this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
|
|
67
56
|
"style",
|
|
68
57
|
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
69
|
-
), e && (e.data && this.load(e.data), this.state.options =
|
|
58
|
+
), e && (e.data && this.load(e.data), this.state.options = c(c({}, this.state.options), e.options || {}), (a = e.options) != null && a.className && this.container.classList.add((o = e.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
|
|
70
59
|
var n, l;
|
|
71
60
|
(l = (n = this.five.getElement()) == null ? void 0 : n.parentNode) == null || l.append(this.container);
|
|
72
61
|
})), this.five.once("dispose", () => this.dispose());
|
|
@@ -111,5 +100,5 @@ class K {
|
|
|
111
100
|
}
|
|
112
101
|
}
|
|
113
102
|
export {
|
|
114
|
-
|
|
103
|
+
A as default
|
|
115
104
|
};
|
|
@@ -1,71 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { ensure_array_like as G } from "../vendor/svelte/src/runtime/internal/each.js";
|
|
5
|
-
import { SvelteComponent as V, init as J } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
7
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
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
|
-
function D(i) {
|
|
14
|
-
H(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
1
|
+
import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as a, insert as _, append as k, add_resize_listener as B, set_data as S, noop as y, detach as P, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
function J(i) {
|
|
3
|
+
M(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
15
4
|
}
|
|
16
|
-
function
|
|
5
|
+
function G(i, e, s) {
|
|
17
6
|
const l = i.slice();
|
|
18
|
-
return l[6] = e[
|
|
7
|
+
return l[6] = e[s], l;
|
|
19
8
|
}
|
|
20
|
-
function
|
|
21
|
-
let e,
|
|
9
|
+
function D(i) {
|
|
10
|
+
let e, s = (
|
|
22
11
|
/*rulerItemProp*/
|
|
23
12
|
i[0].children
|
|
24
13
|
), l = [];
|
|
25
|
-
for (let t = 0; t <
|
|
26
|
-
l[t] =
|
|
14
|
+
for (let t = 0; t < s.length; t += 1)
|
|
15
|
+
l[t] = X(G(i, s, t));
|
|
27
16
|
return {
|
|
28
17
|
c() {
|
|
29
18
|
e = c("div");
|
|
30
19
|
for (let t = 0; t < l.length; t += 1)
|
|
31
20
|
l[t].c();
|
|
32
|
-
|
|
21
|
+
d(e, "class", "rule-mixed-line svelte-1h27ktp");
|
|
33
22
|
},
|
|
34
|
-
m(t,
|
|
35
|
-
_(t, e,
|
|
36
|
-
for (let
|
|
37
|
-
l[
|
|
23
|
+
m(t, o) {
|
|
24
|
+
_(t, e, o);
|
|
25
|
+
for (let n = 0; n < l.length; n += 1)
|
|
26
|
+
l[n] && l[n].m(e, null);
|
|
38
27
|
},
|
|
39
|
-
p(t,
|
|
40
|
-
if (
|
|
28
|
+
p(t, o) {
|
|
29
|
+
if (o & /*rulerItemProp, vars*/
|
|
41
30
|
9) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const h = X(t, o, r);
|
|
49
|
-
l[r] ? l[r].p(h, n) : (l[r] = R(h), l[r].c(), l[r].m(e, null));
|
|
31
|
+
s = /*rulerItemProp*/
|
|
32
|
+
t[0].children;
|
|
33
|
+
let n;
|
|
34
|
+
for (n = 0; n < s.length; n += 1) {
|
|
35
|
+
const p = G(t, s, n);
|
|
36
|
+
l[n] ? l[n].p(p, o) : (l[n] = X(p), l[n].c(), l[n].m(e, null));
|
|
50
37
|
}
|
|
51
|
-
for (;
|
|
52
|
-
l[
|
|
53
|
-
l.length =
|
|
38
|
+
for (; n < l.length; n += 1)
|
|
39
|
+
l[n].d(1);
|
|
40
|
+
l.length = s.length;
|
|
54
41
|
}
|
|
55
42
|
},
|
|
56
43
|
d(t) {
|
|
57
|
-
t && P(e),
|
|
44
|
+
t && P(e), V(l, t);
|
|
58
45
|
}
|
|
59
46
|
};
|
|
60
47
|
}
|
|
61
|
-
function
|
|
62
|
-
let e,
|
|
48
|
+
function A(i) {
|
|
49
|
+
let e, s;
|
|
63
50
|
return {
|
|
64
51
|
c() {
|
|
65
|
-
e = c("em"),
|
|
52
|
+
e = c("em"), d(e, "class", s = Z(
|
|
66
53
|
/*rulerItemProp*/
|
|
67
54
|
i[0].state ? "em-solid" : "em-dotted"
|
|
68
|
-
) + " svelte-1h27ktp"),
|
|
55
|
+
) + " svelte-1h27ktp"), d(
|
|
69
56
|
e,
|
|
70
57
|
"style",
|
|
71
58
|
/*vars*/
|
|
@@ -77,11 +64,11 @@ function C(i) {
|
|
|
77
64
|
},
|
|
78
65
|
p(l, t) {
|
|
79
66
|
t & /*rulerItemProp*/
|
|
80
|
-
1 &&
|
|
67
|
+
1 && s !== (s = Z(
|
|
81
68
|
/*rulerItemProp*/
|
|
82
69
|
l[0].state ? "em-solid" : "em-dotted"
|
|
83
|
-
) + " svelte-1h27ktp") &&
|
|
84
|
-
8 &&
|
|
70
|
+
) + " svelte-1h27ktp") && d(e, "class", s), t & /*vars*/
|
|
71
|
+
8 && d(
|
|
85
72
|
e,
|
|
86
73
|
"style",
|
|
87
74
|
/*vars*/
|
|
@@ -93,70 +80,68 @@ function C(i) {
|
|
|
93
80
|
}
|
|
94
81
|
};
|
|
95
82
|
}
|
|
96
|
-
function
|
|
97
|
-
let e,
|
|
83
|
+
function X(i) {
|
|
84
|
+
let e, s, l = `${/*child*/
|
|
98
85
|
i[6].width}px`;
|
|
99
86
|
return {
|
|
100
87
|
c() {
|
|
101
|
-
e = c("div"),
|
|
88
|
+
e = c("div"), d(e, "class", s = Z(
|
|
102
89
|
/*child*/
|
|
103
90
|
i[6].state ? "em-solid" : "em-dotted"
|
|
104
|
-
) + " svelte-1h27ktp"),
|
|
91
|
+
) + " svelte-1h27ktp"), d(
|
|
105
92
|
e,
|
|
106
93
|
"style",
|
|
107
94
|
/*vars*/
|
|
108
95
|
i[3]
|
|
109
96
|
), a(e, "width", l);
|
|
110
97
|
},
|
|
111
|
-
m(t,
|
|
112
|
-
_(t, e,
|
|
98
|
+
m(t, o) {
|
|
99
|
+
_(t, e, o);
|
|
113
100
|
},
|
|
114
|
-
p(t,
|
|
115
|
-
|
|
116
|
-
1 &&
|
|
101
|
+
p(t, o) {
|
|
102
|
+
o & /*rulerItemProp*/
|
|
103
|
+
1 && s !== (s = Z(
|
|
117
104
|
/*child*/
|
|
118
105
|
t[6].state ? "em-solid" : "em-dotted"
|
|
119
|
-
) + " svelte-1h27ktp") &&
|
|
120
|
-
8 &&
|
|
106
|
+
) + " svelte-1h27ktp") && d(e, "class", s), o & /*vars*/
|
|
107
|
+
8 && d(
|
|
121
108
|
e,
|
|
122
109
|
"style",
|
|
123
110
|
/*vars*/
|
|
124
111
|
t[3]
|
|
125
|
-
)
|
|
126
|
-
|
|
127
|
-
8;
|
|
128
|
-
(n & /*rulerItemProp, vars*/
|
|
112
|
+
), (o & /*vars*/
|
|
113
|
+
8 || o & /*rulerItemProp, vars*/
|
|
129
114
|
9 && l !== (l = `${/*child*/
|
|
130
|
-
t[6].width}px`)
|
|
115
|
+
t[6].width}px`)) && a(e, "width", l);
|
|
131
116
|
},
|
|
132
117
|
d(t) {
|
|
133
118
|
t && P(e);
|
|
134
119
|
}
|
|
135
120
|
};
|
|
136
121
|
}
|
|
137
|
-
function
|
|
138
|
-
let e,
|
|
122
|
+
function C(i) {
|
|
123
|
+
let e, s, l, t, o = (
|
|
139
124
|
/*rulerItemProp*/
|
|
140
125
|
i[0].labelElement + ""
|
|
141
|
-
),
|
|
126
|
+
), n, p, f = `${/*rulerItemProp*/
|
|
142
127
|
i[0].labelOffset}%`, u = `${/*rulerItemProp*/
|
|
143
128
|
i[0].width}px`, v = `${/*rulerItemProp*/
|
|
144
129
|
i[0].left}px`, b = `${/*rulerItemProp*/
|
|
145
130
|
i[0].top}px`, I = `rotate(${/*rulerItemProp*/
|
|
146
131
|
i[0].rotateDeg}deg)`;
|
|
147
|
-
function w(
|
|
132
|
+
function w(r, m) {
|
|
148
133
|
return (
|
|
149
134
|
/*rulerItemProp*/
|
|
150
|
-
|
|
135
|
+
r[0].children.length === 0 ? A : D
|
|
151
136
|
);
|
|
152
137
|
}
|
|
153
|
-
let
|
|
138
|
+
let g = w(i), h = g(i);
|
|
154
139
|
return {
|
|
155
140
|
c() {
|
|
156
|
-
e = c("div"),
|
|
141
|
+
e = c("div"), h.c(), s = z(), l = c("div"), t = c("div"), n = N(o), d(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => (
|
|
157
142
|
/*div0_elementresize_handler*/
|
|
158
143
|
i[4].call(t)
|
|
159
|
-
)),
|
|
144
|
+
)), d(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(
|
|
160
145
|
e,
|
|
161
146
|
"display",
|
|
162
147
|
/*rulerItemProp*/
|
|
@@ -164,59 +149,59 @@ function Y(i) {
|
|
|
164
149
|
i[2] ? "block" : "none"
|
|
165
150
|
);
|
|
166
151
|
},
|
|
167
|
-
m(
|
|
168
|
-
_(
|
|
152
|
+
m(r, m) {
|
|
153
|
+
_(r, e, m), h.m(e, null), k(e, s), k(e, l), k(l, t), k(t, n), p = B(
|
|
169
154
|
t,
|
|
170
155
|
/*div0_elementresize_handler*/
|
|
171
156
|
i[4].bind(t)
|
|
172
157
|
);
|
|
173
158
|
},
|
|
174
|
-
p(
|
|
175
|
-
|
|
176
|
-
1 &&
|
|
177
|
-
|
|
159
|
+
p(r, [m]) {
|
|
160
|
+
g === (g = w(r)) && h ? h.p(r, m) : (h.d(1), h = g(r), h && (h.c(), h.m(e, s))), m & /*rulerItemProp*/
|
|
161
|
+
1 && o !== (o = /*rulerItemProp*/
|
|
162
|
+
r[0].labelElement + "") && S(n, o), m & /*rulerItemProp*/
|
|
178
163
|
1 && f !== (f = `${/*rulerItemProp*/
|
|
179
|
-
|
|
164
|
+
r[0].labelOffset}%`) && a(l, "left", f), m & /*rulerItemProp*/
|
|
180
165
|
1 && u !== (u = `${/*rulerItemProp*/
|
|
181
|
-
|
|
166
|
+
r[0].width}px`) && a(e, "width", u), m & /*rulerItemProp*/
|
|
182
167
|
1 && v !== (v = `${/*rulerItemProp*/
|
|
183
|
-
|
|
168
|
+
r[0].left}px`) && a(e, "left", v), m & /*rulerItemProp*/
|
|
184
169
|
1 && b !== (b = `${/*rulerItemProp*/
|
|
185
|
-
|
|
170
|
+
r[0].top}px`) && a(e, "top", b), m & /*rulerItemProp*/
|
|
186
171
|
1 && I !== (I = `rotate(${/*rulerItemProp*/
|
|
187
|
-
|
|
172
|
+
r[0].rotateDeg}deg)`) && a(e, "transform", I), m & /*rulerItemProp, _visible*/
|
|
188
173
|
5 && a(
|
|
189
174
|
e,
|
|
190
175
|
"display",
|
|
191
176
|
/*rulerItemProp*/
|
|
192
|
-
|
|
193
|
-
|
|
177
|
+
r[0].visible && /*_visible*/
|
|
178
|
+
r[2] ? "block" : "none"
|
|
194
179
|
);
|
|
195
180
|
},
|
|
196
181
|
i: y,
|
|
197
182
|
o: y,
|
|
198
|
-
d(
|
|
199
|
-
|
|
183
|
+
d(r) {
|
|
184
|
+
r && P(e), h.d(), p();
|
|
200
185
|
}
|
|
201
186
|
};
|
|
202
187
|
}
|
|
203
|
-
function
|
|
204
|
-
let l, { rulerItemProp: t } = e,
|
|
188
|
+
function Y(i, e, s) {
|
|
189
|
+
let l, { rulerItemProp: t } = e, o = !0, n, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
|
|
205
190
|
function f() {
|
|
206
|
-
|
|
191
|
+
n = this.offsetWidth, s(1, n);
|
|
207
192
|
}
|
|
208
193
|
return i.$$set = (u) => {
|
|
209
|
-
"rulerItemProp" in u &&
|
|
194
|
+
"rulerItemProp" in u && s(0, t = u.rulerItemProp);
|
|
210
195
|
}, i.$$.update = () => {
|
|
211
196
|
i.$$.dirty & /*labelWidth, rulerItemProp*/
|
|
212
|
-
3 && (
|
|
213
|
-
},
|
|
197
|
+
3 && (n >= t.width || n / 2 >= t.labelOffset / 100 * t.width || n / 2 >= (1 - t.labelOffset / 100) * t.width ? s(2, o = !1) : s(2, o = !0));
|
|
198
|
+
}, s(3, l = `--background-image: url(${p})`), [t, n, o, l, f];
|
|
214
199
|
}
|
|
215
|
-
class
|
|
200
|
+
class U extends R {
|
|
216
201
|
constructor(e) {
|
|
217
|
-
super(),
|
|
202
|
+
super(), W(this, e, Y, C, H, { rulerItemProp: 0 }, J);
|
|
218
203
|
}
|
|
219
204
|
}
|
|
220
205
|
export {
|
|
221
|
-
|
|
206
|
+
U as default
|
|
222
207
|
};
|