@realsee/dnalogel 3.0.0-0 → 3.0.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3316 -3309
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/CurrentPanoImagePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/AreaMakerPlugin/Controller.js +5 -3
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +9 -7
- package/libs/CSS3DRenderPlugin/Controller.js +5 -3
- package/libs/CSS3DRenderPlugin/index.js +8 -6
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +23 -22
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +44 -54
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -10
- package/libs/CruisePlugin/Controller.js +39 -37
- package/libs/CruisePlugin/index.js +10 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +11 -9
- package/libs/CurrentPanoImagePlugin/index.js +6 -4
- package/libs/GuideLinePlugin/Controller.js +26 -24
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -5
- package/libs/GuideLinePlugin/index.js +12 -10
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -4
- package/libs/ModelTVVideoPlugin/index.js +5 -3
- package/libs/Object3DHelperPlugin/Controller.js +5 -3
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +55 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Model/area.js +4 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +25 -23
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +14 -12
- package/libs/PanoSpatialTagPlugin/Plugin.js +6 -4
- package/libs/PanoSpatialTagPlugin/index.js +3 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +185 -183
- package/libs/PanoTagPlugin/Components/TagContainer.js +36 -34
- package/libs/PanoTagPlugin/Components/TagItem.js +66 -64
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +6 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +7 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +66 -59
- package/libs/PanoTagPlugin/controller/index.js +16 -14
- package/libs/PanoTagPlugin/index.js +16 -14
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
- package/libs/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +5 -3
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -12
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -0
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -31
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +121 -119
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -0
- package/package.json +2 -2
- /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as
|
|
1
|
+
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as ie, onDestroy as le, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import ne from "./Common/Switcher1.js";
|
|
3
3
|
import se from "./Common/CircleButton.js";
|
|
4
4
|
import H from "../Controller/EditController.js";
|
|
@@ -37,11 +37,13 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
37
37
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
38
38
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
39
39
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
40
|
+
import "../../shared-utils/util.js";
|
|
40
41
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
41
42
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
42
43
|
import "../../shared-utils/Subscribe.js";
|
|
43
44
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
44
45
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
46
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
45
47
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
46
48
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
47
49
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -57,7 +59,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
57
59
|
import "../../CSS3DRenderPlugin/index.js";
|
|
58
60
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
59
61
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
60
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
62
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
61
63
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
62
64
|
import "../../shared-utils/animationFrame/index.js";
|
|
63
65
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -73,7 +75,7 @@ function fe(o) {
|
|
|
73
75
|
re(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
|
|
74
76
|
}
|
|
75
77
|
function J(o) {
|
|
76
|
-
let t,
|
|
78
|
+
let t, i;
|
|
77
79
|
return t = new ae({
|
|
78
80
|
props: {
|
|
79
81
|
onClick: (
|
|
@@ -86,19 +88,19 @@ function J(o) {
|
|
|
86
88
|
q(t.$$.fragment);
|
|
87
89
|
},
|
|
88
90
|
m(e, a) {
|
|
89
|
-
O(t, e, a),
|
|
91
|
+
O(t, e, a), i = !0;
|
|
90
92
|
},
|
|
91
93
|
p(e, a) {
|
|
92
|
-
const
|
|
94
|
+
const l = {};
|
|
93
95
|
a & /*measureController*/
|
|
94
|
-
1 && (
|
|
95
|
-
e[0].disable), t.$set(
|
|
96
|
+
1 && (l.onClick = /*measureController*/
|
|
97
|
+
e[0].disable), t.$set(l);
|
|
96
98
|
},
|
|
97
99
|
i(e) {
|
|
98
|
-
|
|
100
|
+
i || (k(t.$$.fragment, e), i = !0);
|
|
99
101
|
},
|
|
100
102
|
o(e) {
|
|
101
|
-
_(t.$$.fragment, e),
|
|
103
|
+
_(t.$$.fragment, e), i = !1;
|
|
102
104
|
},
|
|
103
105
|
d(e) {
|
|
104
106
|
U(t, e);
|
|
@@ -106,8 +108,8 @@ function J(o) {
|
|
|
106
108
|
};
|
|
107
109
|
}
|
|
108
110
|
function L(o) {
|
|
109
|
-
let t,
|
|
110
|
-
return
|
|
111
|
+
let t, i, e, a;
|
|
112
|
+
return i = new ne({
|
|
111
113
|
props: {
|
|
112
114
|
options: [
|
|
113
115
|
{
|
|
@@ -136,13 +138,13 @@ function L(o) {
|
|
|
136
138
|
}
|
|
137
139
|
}), {
|
|
138
140
|
c() {
|
|
139
|
-
t = j("div"), q(
|
|
141
|
+
t = j("div"), q(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
|
|
140
142
|
},
|
|
141
|
-
m(
|
|
142
|
-
I(
|
|
143
|
+
m(l, n) {
|
|
144
|
+
I(l, t, n), O(i, t, null), a = !0;
|
|
143
145
|
},
|
|
144
|
-
p(
|
|
145
|
-
o =
|
|
146
|
+
p(l, n) {
|
|
147
|
+
o = l;
|
|
146
148
|
const m = {};
|
|
147
149
|
n & /*i18n*/
|
|
148
150
|
4 && (m.options = [
|
|
@@ -164,29 +166,29 @@ function L(o) {
|
|
|
164
166
|
1 && (m.defaultKey = /*measureController*/
|
|
165
167
|
o[0].currentMeasureType), n & /*measureController*/
|
|
166
168
|
1 && (m.onChange = /*measureController*/
|
|
167
|
-
o[0].changeMeasureType),
|
|
169
|
+
o[0].changeMeasureType), i.$set(m);
|
|
168
170
|
},
|
|
169
|
-
i(
|
|
170
|
-
a || (k(
|
|
171
|
+
i(l) {
|
|
172
|
+
a || (k(i.$$.fragment, l), l && F(() => {
|
|
171
173
|
a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
172
174
|
}), a = !0);
|
|
173
175
|
},
|
|
174
|
-
o(
|
|
175
|
-
_(
|
|
176
|
+
o(l) {
|
|
177
|
+
_(i.$$.fragment, l), l && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
|
|
176
178
|
},
|
|
177
|
-
d(
|
|
178
|
-
|
|
179
|
+
d(l) {
|
|
180
|
+
l && K(t), U(i), l && e && e.end();
|
|
179
181
|
}
|
|
180
182
|
};
|
|
181
183
|
}
|
|
182
184
|
function N(o) {
|
|
183
|
-
let t,
|
|
185
|
+
let t, i, e, a = (
|
|
184
186
|
/*i18n*/
|
|
185
187
|
o[2]("撤销") + ""
|
|
186
|
-
),
|
|
188
|
+
), l, n, m, f, C;
|
|
187
189
|
return {
|
|
188
190
|
c() {
|
|
189
|
-
t = j("div"),
|
|
191
|
+
t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
|
|
190
192
|
t,
|
|
191
193
|
"forbid",
|
|
192
194
|
/*buttonState*/
|
|
@@ -194,7 +196,7 @@ function N(o) {
|
|
|
194
196
|
);
|
|
195
197
|
},
|
|
196
198
|
m(r, c) {
|
|
197
|
-
I(r, t, c), g(t,
|
|
199
|
+
I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
|
|
198
200
|
t,
|
|
199
201
|
"click",
|
|
200
202
|
/*click_handler*/
|
|
@@ -204,7 +206,7 @@ function N(o) {
|
|
|
204
206
|
p(r, c) {
|
|
205
207
|
o = r, (!m || c & /*i18n*/
|
|
206
208
|
4) && a !== (a = /*i18n*/
|
|
207
|
-
o[2]("撤销") + "") && Y(
|
|
209
|
+
o[2]("撤销") + "") && Y(l, a), (!m || c & /*buttonState*/
|
|
208
210
|
8) && D(
|
|
209
211
|
t,
|
|
210
212
|
"forbid",
|
|
@@ -226,16 +228,16 @@ function N(o) {
|
|
|
226
228
|
};
|
|
227
229
|
}
|
|
228
230
|
function Q(o) {
|
|
229
|
-
let t,
|
|
231
|
+
let t, i, e, a = (
|
|
230
232
|
/*i18n*/
|
|
231
233
|
o[2]("结束") + ""
|
|
232
|
-
),
|
|
234
|
+
), l, n, m, f, C;
|
|
233
235
|
return {
|
|
234
236
|
c() {
|
|
235
|
-
t = j("div"),
|
|
237
|
+
t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
|
|
236
238
|
},
|
|
237
239
|
m(r, c) {
|
|
238
|
-
I(r, t, c), g(t,
|
|
240
|
+
I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
|
|
239
241
|
t,
|
|
240
242
|
"click",
|
|
241
243
|
/*complete*/
|
|
@@ -245,7 +247,7 @@ function Q(o) {
|
|
|
245
247
|
p(r, c) {
|
|
246
248
|
o = r, (!m || c & /*i18n*/
|
|
247
249
|
4) && a !== (a = /*i18n*/
|
|
248
|
-
o[2]("结束") + "") && Y(
|
|
250
|
+
o[2]("结束") + "") && Y(l, a);
|
|
249
251
|
},
|
|
250
252
|
i(r) {
|
|
251
253
|
m || (r && F(() => {
|
|
@@ -261,7 +263,7 @@ function Q(o) {
|
|
|
261
263
|
};
|
|
262
264
|
}
|
|
263
265
|
function ue(o) {
|
|
264
|
-
let t,
|
|
266
|
+
let t, i, e, a, l, n, m, f, C, r, c, z, M, b = (
|
|
265
267
|
/*showExit*/
|
|
266
268
|
o[1] && J(o)
|
|
267
269
|
), p = (
|
|
@@ -300,16 +302,16 @@ function ue(o) {
|
|
|
300
302
|
);
|
|
301
303
|
return {
|
|
302
304
|
c() {
|
|
303
|
-
t = j("div"), b && b.c(),
|
|
305
|
+
t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
|
|
304
306
|
o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
|
|
305
307
|
},
|
|
306
308
|
m(s, v) {
|
|
307
|
-
I(s, t, v), b && b.m(t, null), g(t,
|
|
309
|
+
I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
|
|
308
310
|
},
|
|
309
311
|
p(s, [v]) {
|
|
310
312
|
/*showExit*/
|
|
311
313
|
s[1] ? b ? (b.p(s, v), v & /*showExit*/
|
|
312
|
-
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t,
|
|
314
|
+
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, i)) : b && (B(), _(b, 1, 1, () => {
|
|
313
315
|
b = null;
|
|
314
316
|
}), R()), /*measureController*/
|
|
315
317
|
s[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
@@ -354,13 +356,13 @@ function ue(o) {
|
|
|
354
356
|
};
|
|
355
357
|
}
|
|
356
358
|
const P = 100;
|
|
357
|
-
function de(o, t,
|
|
358
|
-
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n:
|
|
359
|
+
function de(o, t, i) {
|
|
360
|
+
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: l = (h) => h } = t;
|
|
359
361
|
const n = {
|
|
360
|
-
start:
|
|
361
|
-
add:
|
|
362
|
-
end:
|
|
363
|
-
complete:
|
|
362
|
+
start: l("开始"),
|
|
363
|
+
add: l("添加"),
|
|
364
|
+
end: l("结束"),
|
|
365
|
+
complete: l("完成")
|
|
364
366
|
}, m = {
|
|
365
367
|
start: "white",
|
|
366
368
|
add: "white",
|
|
@@ -375,7 +377,7 @@ function de(o, t, l) {
|
|
|
375
377
|
}, b = () => {
|
|
376
378
|
e.controller instanceof H && e.controller.complete();
|
|
377
379
|
}, p = (h) => {
|
|
378
|
-
|
|
380
|
+
i(3, r = h);
|
|
379
381
|
}, u = () => {
|
|
380
382
|
M(), A("allow");
|
|
381
383
|
}, d = () => {
|
|
@@ -387,29 +389,29 @@ function de(o, t, l) {
|
|
|
387
389
|
}, y = () => {
|
|
388
390
|
p("start"), A("allow");
|
|
389
391
|
}, A = (h) => {
|
|
390
|
-
|
|
392
|
+
i(5, C = h === "allow");
|
|
391
393
|
}, G = (h) => {
|
|
392
|
-
|
|
394
|
+
i(12, c = h);
|
|
393
395
|
}, Z = (h) => {
|
|
394
396
|
h.isEmpty && p("start");
|
|
395
397
|
};
|
|
396
|
-
|
|
398
|
+
ie(() => {
|
|
397
399
|
e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
|
|
398
|
-
}),
|
|
400
|
+
}), le(() => {
|
|
399
401
|
e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
|
|
400
402
|
});
|
|
401
403
|
const $ = () => e.revoke(), x = () => {
|
|
402
404
|
r === "start" ? z() : r === "add" ? M() : (r === "end" || r === "complete") && u();
|
|
403
405
|
};
|
|
404
406
|
return o.$$set = (h) => {
|
|
405
|
-
"measureController" in h &&
|
|
407
|
+
"measureController" in h && i(0, e = h.measureController), "showExit" in h && i(1, a = h.showExit), "i18n" in h && i(2, l = h.i18n);
|
|
406
408
|
}, o.$$.update = () => {
|
|
407
409
|
o.$$.dirty & /*currentMeasureType, buttonState*/
|
|
408
|
-
4104 &&
|
|
410
|
+
4104 && i(4, f = c === "area" && r !== "start");
|
|
409
411
|
}, [
|
|
410
412
|
e,
|
|
411
413
|
a,
|
|
412
|
-
|
|
414
|
+
l,
|
|
413
415
|
r,
|
|
414
416
|
f,
|
|
415
417
|
C,
|
|
@@ -424,7 +426,7 @@ function de(o, t, l) {
|
|
|
424
426
|
x
|
|
425
427
|
];
|
|
426
428
|
}
|
|
427
|
-
class
|
|
429
|
+
class Bt extends ee {
|
|
428
430
|
constructor(t) {
|
|
429
431
|
super(), te(
|
|
430
432
|
this,
|
|
@@ -442,5 +444,5 @@ class At extends ee {
|
|
|
442
444
|
}
|
|
443
445
|
}
|
|
444
446
|
export {
|
|
445
|
-
|
|
447
|
+
Bt as default
|
|
446
448
|
};
|
|
@@ -35,11 +35,13 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
35
35
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
36
36
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
37
37
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
38
|
+
import "../../shared-utils/util.js";
|
|
38
39
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
39
40
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
40
41
|
import "../../shared-utils/Subscribe.js";
|
|
41
42
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
42
43
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
44
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
43
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
45
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -53,7 +55,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
53
55
|
import "../../CSS3DRenderPlugin/index.js";
|
|
54
56
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
55
57
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
56
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
57
59
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
58
60
|
import "../../shared-utils/animationFrame/index.js";
|
|
59
61
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -64,7 +66,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
64
66
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
65
67
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
66
68
|
const M = () => !1;
|
|
67
|
-
class
|
|
69
|
+
class Xe extends j {
|
|
68
70
|
constructor(e) {
|
|
69
71
|
var t;
|
|
70
72
|
super(e);
|
|
@@ -324,5 +326,5 @@ class Ke extends j {
|
|
|
324
326
|
}
|
|
325
327
|
}
|
|
326
328
|
export {
|
|
327
|
-
|
|
329
|
+
Xe as default
|
|
328
330
|
};
|
|
@@ -35,11 +35,13 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
35
35
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
36
36
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
37
37
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
38
|
+
import "../../shared-utils/util.js";
|
|
38
39
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
39
40
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
40
41
|
import "../../shared-utils/Subscribe.js";
|
|
41
42
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
42
43
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
44
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
43
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
45
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -48,7 +50,7 @@ import "../../shared-utils/three/IObject3D.js";
|
|
|
48
50
|
import "../utils/generatePolygonGeometry.js";
|
|
49
51
|
import "earcut";
|
|
50
52
|
const C = () => !1;
|
|
51
|
-
class
|
|
53
|
+
class Ut extends G {
|
|
52
54
|
constructor(t) {
|
|
53
55
|
super(t);
|
|
54
56
|
s(this, "type", "watch");
|
|
@@ -221,5 +223,5 @@ class Gt extends G {
|
|
|
221
223
|
}
|
|
222
224
|
}
|
|
223
225
|
export {
|
|
224
|
-
|
|
226
|
+
Ut as default
|
|
225
227
|
};
|
|
@@ -61,16 +61,18 @@ import "../Modules/rangePiece/html.js";
|
|
|
61
61
|
import "../../CSS3DRenderPlugin/index.js";
|
|
62
62
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
63
63
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
64
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
64
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
65
65
|
import "../../shared-utils/positionToVector3.js";
|
|
66
66
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
67
67
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
68
68
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
69
|
+
import "../../shared-utils/util.js";
|
|
69
70
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
70
71
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
71
72
|
import "../../shared-utils/Subscribe.js";
|
|
72
73
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
73
74
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
75
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
74
76
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
75
77
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
76
78
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -107,7 +109,7 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
107
109
|
import "../../vendor/svelte/easing/index.js";
|
|
108
110
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
109
111
|
import "../Components/Tip.js";
|
|
110
|
-
class
|
|
112
|
+
class Et {
|
|
111
113
|
constructor(e, t) {
|
|
112
114
|
i(this, "hasOpen", !1);
|
|
113
115
|
i(this, "hook", new x());
|
|
@@ -309,5 +311,5 @@ class kt {
|
|
|
309
311
|
}
|
|
310
312
|
}
|
|
311
313
|
export {
|
|
312
|
-
|
|
314
|
+
Et as default
|
|
313
315
|
};
|
|
@@ -27,16 +27,18 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
27
27
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
28
28
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
29
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
30
|
+
import "../../shared-utils/util.js";
|
|
30
31
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
31
32
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
32
33
|
import "../../shared-utils/Subscribe.js";
|
|
33
34
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
35
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
36
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
35
37
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
38
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
39
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
40
|
import "../../shared-utils/isNil.js";
|
|
39
|
-
class
|
|
41
|
+
class et {
|
|
40
42
|
constructor(t, e) {
|
|
41
43
|
i(this, "id", f());
|
|
42
44
|
i(this, "selected", !1);
|
|
@@ -128,5 +130,5 @@ class tt {
|
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
132
|
export {
|
|
131
|
-
|
|
133
|
+
et as default
|
|
132
134
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (r,
|
|
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";
|
|
@@ -43,11 +43,13 @@ import "../../../shared-utils/positionToVector3.js";
|
|
|
43
43
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
45
|
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
46
|
+
import "../../../shared-utils/util.js";
|
|
46
47
|
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
47
48
|
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
48
49
|
import "../../../shared-utils/Subscribe.js";
|
|
49
50
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
50
51
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
51
53
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
52
54
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
53
55
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -63,7 +65,7 @@ import "../rangePiece/html.js";
|
|
|
63
65
|
import "../../../CSS3DRenderPlugin/index.js";
|
|
64
66
|
import "../../../CSS3DRenderPlugin/Controller.js";
|
|
65
67
|
import "../../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
66
|
-
import "../../../shared-utils/absoluteUrl.js";
|
|
68
|
+
import "../../../shared-utils/url/absoluteUrl.js";
|
|
67
69
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
68
70
|
import "../../../shared-utils/animationFrame/index.js";
|
|
69
71
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -80,21 +82,21 @@ import "../../Components/Common/Switcher1.js";
|
|
|
80
82
|
import "../../Components/Common/CircleButton.js";
|
|
81
83
|
import "../../../vendor/svelte/transition/index.js";
|
|
82
84
|
import "../../../vendor/svelte/easing/index.js";
|
|
83
|
-
class
|
|
84
|
-
constructor(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
const
|
|
95
|
-
if (!t || !
|
|
85
|
+
class to {
|
|
86
|
+
constructor(o, t) {
|
|
87
|
+
e(this, "revoke");
|
|
88
|
+
e(this, "container");
|
|
89
|
+
e(this, "mainController");
|
|
90
|
+
e(this, "disposers", []);
|
|
91
|
+
e(this, "measureController");
|
|
92
|
+
e(this, "mode");
|
|
93
|
+
e(this, "svelteDom");
|
|
94
|
+
e(this, "_params");
|
|
95
|
+
e(this, "handleExit", () => {
|
|
96
|
+
const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
97
|
+
if (!t || !o)
|
|
96
98
|
throw new Error("cannot find dom");
|
|
97
|
-
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(
|
|
99
|
+
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
98
100
|
const i = () => {
|
|
99
101
|
t.style.opacity = "1";
|
|
100
102
|
}, s = () => {
|
|
@@ -107,7 +109,7 @@ class Yt {
|
|
|
107
109
|
};
|
|
108
110
|
});
|
|
109
111
|
var s, n;
|
|
110
|
-
this._params = t, this.measureController =
|
|
112
|
+
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)";
|
|
111
113
|
const i = (n = t.useNewUI) != null ? n : !1;
|
|
112
114
|
if (i && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
113
115
|
target: t.container,
|
|
@@ -122,17 +124,17 @@ class Yt {
|
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
dispose() {
|
|
125
|
-
var
|
|
126
|
-
this.hide(), (
|
|
127
|
+
var o;
|
|
128
|
+
this.hide(), (o = this.svelteDom) == null || o.$destroy(), this.container.remove();
|
|
127
129
|
}
|
|
128
130
|
show() {
|
|
129
131
|
return this.container.style.display = "block", this.container.style.opacity = "1", this.container.style.transform = "translate(0, 0)", this.mode === "pc" ? (this.revoke = new w(this.measureController, this.container), this.mainController = new S(this.measureController, this.container, this._params)) : this.mainController = new g(this.measureController, this.container, this._params), this.disposers.push(this.handleExit()), this;
|
|
130
132
|
}
|
|
131
133
|
hide() {
|
|
132
|
-
var
|
|
133
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((
|
|
134
|
+
var o, t;
|
|
135
|
+
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;
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
138
|
export {
|
|
137
|
-
|
|
139
|
+
to as UIController
|
|
138
140
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { Model as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { Polyline as
|
|
2
|
+
import { default as Yo } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as _o } from "./Model/index.js";
|
|
4
|
+
import { default as or } from "./Model/point.js";
|
|
5
|
+
import { default as tr } from "./Model/line.js";
|
|
6
|
+
import { Polyline as mr } from "./Model/polyline.js";
|
|
7
7
|
import "./Controller/EditController.js";
|
|
8
8
|
import "../shared-utils/throttle.js";
|
|
9
9
|
import "./Controller/BaseController.js";
|
|
@@ -32,11 +32,13 @@ import "../shared-utils/positionToVector3.js";
|
|
|
32
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
33
33
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
35
|
+
import "../shared-utils/util.js";
|
|
35
36
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
36
37
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
37
38
|
import "../shared-utils/Subscribe.js";
|
|
38
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
39
40
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
41
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
40
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
41
43
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
42
44
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -52,7 +54,7 @@ import "./Modules/rangePiece/html.js";
|
|
|
52
54
|
import "../CSS3DRenderPlugin/index.js";
|
|
53
55
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
54
56
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
55
|
-
import "../shared-utils/absoluteUrl.js";
|
|
57
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
56
58
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
57
59
|
import "../shared-utils/animationFrame/index.js";
|
|
58
60
|
import "../shared-utils/isTouchDevice.js";
|
|
@@ -97,15 +99,15 @@ import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
97
99
|
import "./Components/Tip.js";
|
|
98
100
|
import "./Controller/ShortcutKeyController.js";
|
|
99
101
|
import "../shared-utils/safeObj.js";
|
|
100
|
-
const
|
|
102
|
+
const Vo = function(o, r) {
|
|
101
103
|
return new t(o, r);
|
|
102
104
|
};
|
|
103
105
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
Yo as Magnifier,
|
|
107
|
+
Vo as PanoMeasurePlugin,
|
|
108
|
+
tr as PanoMeasurePluginLine,
|
|
109
|
+
_o as PanoMeasurePluginModel,
|
|
110
|
+
or as PanoMeasurePluginPoint,
|
|
111
|
+
mr as PanoMeasurePluginPolyline,
|
|
112
|
+
Vo as default
|
|
111
113
|
};
|