@realsee/dnalogel 2.20.5 → 2.21.0-dev.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/GuideLinePlugin/Controller.d.ts +3 -5
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -17
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +13 -5
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +22 -9
- package/dist/PanoMeasurePlugin/Model/area.d.ts +62 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +9 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +4 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +10 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -3
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +23 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +10 -3
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +25 -0
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/dist/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/dist/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/dist/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/dist/index.cjs.js +64 -64
- package/dist/index.js +9427 -8244
- package/dist/index.umd.js +57 -57
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/dist/shared-utils/isTouchDevice.d.ts +1 -0
- package/dist/shared-utils/safeObj.d.ts +1 -0
- package/dist/shared-utils/three/IObject3D.d.ts +7 -0
- package/dist/shared-utils/three/Magnifier.d.ts +3 -0
- package/dist/shared-utils/three/PointSelector.d.ts +32 -0
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +50 -0
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/CruisePluginController.html +27 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +33 -87
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +26 -25
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +52 -106
- package/docs/classes/PanoMeasurePluginModel.html +67 -24
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +39 -26
- package/docs/classes/PanoTagPluginController.html +48 -47
- package/docs/classes/Util.BetterTween.html +10 -9
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +31 -17
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +96 -26
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +21 -20
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/PointType.html +8 -7
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/PanoVideoPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +6 -5
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +23 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +14 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +13 -12
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/interfaces/Util.PointIntersection.html +407 -0
- package/docs/modules/CruisePluginTypes.html +6 -5
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +6 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +8 -6
- package/docs/modules.html +6 -5
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
- package/docs/types/DeprecatedTagProperty.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/ElementRenderer.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
- package/docs/types/GuideLinePluginType.PathItem.html +6 -5
- package/docs/types/GuideLinePluginType.PluginData.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PartialObjectDeep.html +6 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagInstance.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagInstance.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TagRendererMap.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/GuideLinePlugin/Components/Tag.js +41 -134
- package/libs/GuideLinePlugin/Controller.d.ts +3 -5
- package/libs/GuideLinePlugin/Controller.js +44 -48
- package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +113 -150
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -17
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +17 -19
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +57 -0
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +250 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +211 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +130 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.js +255 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +28 -21
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +13 -5
- package/libs/PanoMeasurePlugin/Controller/EditController.js +184 -75
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +26 -25
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +5 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +99 -53
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +22 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +127 -73
- package/libs/PanoMeasurePlugin/Model/area.d.ts +62 -0
- package/libs/PanoMeasurePlugin/Model/area.js +98 -0
- package/libs/PanoMeasurePlugin/Model/index.d.ts +9 -0
- package/libs/PanoMeasurePlugin/Model/index.js +27 -12
- package/libs/PanoMeasurePlugin/Model/line.d.ts +4 -1
- package/libs/PanoMeasurePlugin/Model/line.js +15 -8
- package/libs/PanoMeasurePlugin/Model/point.js +17 -12
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +10 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +39 -0
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +10 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +27 -25
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +112 -35
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/index.js +61 -17
- package/libs/PanoMeasurePlugin/typings/data.d.ts +23 -0
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +10 -3
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +29 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +25 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +72 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +47 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +13 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +37 -0
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +25 -0
- package/libs/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +28 -30
- package/libs/index.js +134 -116
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +29 -49
- package/libs/shared-utils/index.js +6 -6
- package/libs/shared-utils/isTouchDevice.d.ts +1 -0
- package/libs/shared-utils/isTouchDevice.js +4 -0
- package/libs/shared-utils/logger.js +2 -2
- package/libs/shared-utils/safeObj.d.ts +1 -0
- package/libs/shared-utils/safeObj.js +6 -0
- package/libs/shared-utils/three/IObject3D.d.ts +7 -0
- package/libs/shared-utils/three/IObject3D.js +25 -0
- package/libs/shared-utils/three/Magnifier.d.ts +3 -0
- package/libs/shared-utils/three/Magnifier.js +11 -9
- package/libs/shared-utils/three/PointSelector.d.ts +32 -0
- package/libs/shared-utils/three/PointSelector.js +68 -0
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +50 -0
- package/libs/shared-utils/three/PointSelectorHelper.js +100 -0
- package/libs/shared-utils/three/centerPoint.js +1 -3
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/package.json +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +0 -83
- package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/three/FivePointSelector.js +0 -49
|
@@ -1,175 +1,82 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as q, init as x, safe_not_equal as y, append_styles as N, element as m, space as A, attr as f, set_style as d, insert as h, append as u, noop as b, detach as T, text as z, set_data as E } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function I(i) {
|
|
3
|
+
N(i, "svelte-m8w0ju", ".guide-line__tag.svelte-m8w0ju{position:relative}.guide-line__tag-point.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-m8w0ju{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-m8w0ju{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-m8w0ju{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function p(i) {
|
|
6
6
|
let e, l;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e =
|
|
9
|
+
e = m("div"), l = z(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
),
|
|
13
|
-
|
|
11
|
+
i[0]
|
|
12
|
+
), f(e, "class", "guide-line__tag-text svelte-m8w0ju"), d(e, "border-image-source", `url(${/*text_background_url*/
|
|
13
|
+
i[3]})`);
|
|
14
14
|
},
|
|
15
|
-
m(
|
|
16
|
-
|
|
15
|
+
m(a, n) {
|
|
16
|
+
h(a, e, n), u(e, l);
|
|
17
17
|
},
|
|
18
|
-
p(
|
|
19
|
-
|
|
20
|
-
1 &&
|
|
18
|
+
p(a, n) {
|
|
19
|
+
n & /*text*/
|
|
20
|
+
1 && E(
|
|
21
21
|
l,
|
|
22
|
-
/*text*/
|
|
23
|
-
i[0]
|
|
24
|
-
);
|
|
25
|
-
},
|
|
26
|
-
d(i) {
|
|
27
|
-
i && E(e);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
function D(a) {
|
|
32
|
-
let e, l, i, f, v = (
|
|
33
|
-
/*i18n*/
|
|
34
|
-
a[5]("全程") + ""
|
|
35
|
-
), s, m, b = (
|
|
36
|
-
/*i18n*/
|
|
37
|
-
a[5]("米") + ""
|
|
38
|
-
), p, t, r, o, A, y, u = (
|
|
39
|
-
/*name*/
|
|
40
|
-
a[4] && G(a)
|
|
41
|
-
);
|
|
42
|
-
return {
|
|
43
|
-
c() {
|
|
44
|
-
e = d("div"), u && u.c(), l = k(), i = d("div"), f = d("span"), s = T(v), m = T(
|
|
45
|
-
/*distance*/
|
|
46
|
-
a[2]
|
|
47
|
-
), p = T(b), t = k(), r = d("span"), o = T(
|
|
48
22
|
/*text*/
|
|
49
23
|
a[0]
|
|
50
|
-
), A = k(), y = d("div"), c(f, "class", "distance svelte-1ueaffa"), c(r, "class", "name svelte-1ueaffa"), c(i, "class", "distance-and-name svelte-1ueaffa"), c(y, "class", "border svelte-1ueaffa"), c(e, "class", "text-with-distance svelte-1ueaffa");
|
|
51
|
-
},
|
|
52
|
-
m(g, h) {
|
|
53
|
-
N(g, e, h), u && u.m(e, null), n(e, l), n(e, i), n(i, f), n(f, s), n(f, m), n(f, p), n(i, t), n(i, r), n(r, o), n(e, A), n(e, y);
|
|
54
|
-
},
|
|
55
|
-
p(g, h) {
|
|
56
|
-
/*name*/
|
|
57
|
-
g[4] ? u ? u.p(g, h) : (u = G(g), u.c(), u.m(e, l)) : u && (u.d(1), u = null), h & /*i18n*/
|
|
58
|
-
32 && v !== (v = /*i18n*/
|
|
59
|
-
g[5]("全程") + "") && q(s, v), h & /*distance*/
|
|
60
|
-
4 && q(
|
|
61
|
-
m,
|
|
62
|
-
/*distance*/
|
|
63
|
-
g[2]
|
|
64
|
-
), h & /*i18n*/
|
|
65
|
-
32 && b !== (b = /*i18n*/
|
|
66
|
-
g[5]("米") + "") && q(p, b), h & /*text*/
|
|
67
|
-
1 && q(
|
|
68
|
-
o,
|
|
69
|
-
/*text*/
|
|
70
|
-
g[0]
|
|
71
|
-
);
|
|
72
|
-
},
|
|
73
|
-
d(g) {
|
|
74
|
-
g && E(e), u && u.d();
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function G(a) {
|
|
79
|
-
let e, l;
|
|
80
|
-
return {
|
|
81
|
-
c() {
|
|
82
|
-
e = d("span"), l = T(
|
|
83
|
-
/*name*/
|
|
84
|
-
a[4]
|
|
85
|
-
), c(e, "class", "line-name svelte-1ueaffa");
|
|
86
|
-
},
|
|
87
|
-
m(i, f) {
|
|
88
|
-
N(i, e, f), n(e, l);
|
|
89
|
-
},
|
|
90
|
-
p(i, f) {
|
|
91
|
-
f & /*name*/
|
|
92
|
-
16 && q(
|
|
93
|
-
l,
|
|
94
|
-
/*name*/
|
|
95
|
-
i[4]
|
|
96
24
|
);
|
|
97
25
|
},
|
|
98
|
-
d(
|
|
99
|
-
|
|
26
|
+
d(a) {
|
|
27
|
+
a && T(e);
|
|
100
28
|
}
|
|
101
29
|
};
|
|
102
30
|
}
|
|
103
|
-
function
|
|
104
|
-
let e, l,
|
|
31
|
+
function j(i) {
|
|
32
|
+
let e, l, a, n, g, s, r, v, t = (
|
|
105
33
|
/*text*/
|
|
106
|
-
|
|
107
|
-
a[2] && _(a)
|
|
108
|
-
), r = (
|
|
109
|
-
/*distance*/
|
|
110
|
-
a[2] && D(a)
|
|
34
|
+
i[0] && p(i)
|
|
111
35
|
);
|
|
112
36
|
return {
|
|
113
37
|
c() {
|
|
114
|
-
e =
|
|
115
|
-
|
|
38
|
+
e = m("div"), l = m("div"), a = A(), n = m("div"), g = A(), s = m("div"), r = m("div"), v = A(), t && t.c(), f(l, "class", "guide-line__tag-point svelte-m8w0ju"), f(n, "class", "guide-line__tag-line svelte-m8w0ju"), f(r, "class", "guide-line__tag-icon svelte-m8w0ju"), d(r, "background-image", `url(${/*icon_url*/
|
|
39
|
+
i[1]})`), f(s, "class", "guide-line__tag-content svelte-m8w0ju"), f(e, "class", "guide-line__tag svelte-m8w0ju"), d(
|
|
116
40
|
e,
|
|
117
41
|
"opacity",
|
|
118
42
|
/*opacity*/
|
|
119
|
-
|
|
43
|
+
i[2]
|
|
120
44
|
);
|
|
121
45
|
},
|
|
122
|
-
m(o,
|
|
123
|
-
|
|
46
|
+
m(o, c) {
|
|
47
|
+
h(o, e, c), u(e, l), u(e, a), u(e, n), u(e, g), u(e, s), u(s, r), u(s, v), t && t.m(s, null);
|
|
124
48
|
},
|
|
125
|
-
p(o, [
|
|
126
|
-
|
|
127
|
-
2 &&
|
|
49
|
+
p(o, [c]) {
|
|
50
|
+
c & /*icon_url*/
|
|
51
|
+
2 && d(r, "background-image", `url(${/*icon_url*/
|
|
128
52
|
o[1]})`), /*text*/
|
|
129
|
-
o[0] &&
|
|
130
|
-
|
|
131
|
-
o[2] ? r ? r.p(o, A) : (r = D(o), r.c(), r.m(s, null)) : r && (r.d(1), r = null), A & /*opacity*/
|
|
132
|
-
8 && z(
|
|
53
|
+
o[0] ? t ? t.p(o, c) : (t = p(o), t.c(), t.m(s, null)) : t && (t.d(1), t = null), c & /*opacity*/
|
|
54
|
+
4 && d(
|
|
133
55
|
e,
|
|
134
56
|
"opacity",
|
|
135
57
|
/*opacity*/
|
|
136
|
-
o[
|
|
58
|
+
o[2]
|
|
137
59
|
);
|
|
138
60
|
},
|
|
139
|
-
i:
|
|
140
|
-
o:
|
|
61
|
+
i: b,
|
|
62
|
+
o: b,
|
|
141
63
|
d(o) {
|
|
142
|
-
o &&
|
|
64
|
+
o && T(e), t && t.d();
|
|
143
65
|
}
|
|
144
66
|
};
|
|
145
67
|
}
|
|
146
|
-
function
|
|
147
|
-
let { text:
|
|
148
|
-
const
|
|
149
|
-
return
|
|
150
|
-
"text" in
|
|
151
|
-
}, [
|
|
68
|
+
function k(i, e, l) {
|
|
69
|
+
let { text: a = "" } = e, { icon_url: n = "" } = e, { opacity: g = 1 } = e;
|
|
70
|
+
const s = "data:image/png;base64,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";
|
|
71
|
+
return i.$$set = (r) => {
|
|
72
|
+
"text" in r && l(0, a = r.text), "icon_url" in r && l(1, n = r.icon_url), "opacity" in r && l(2, g = r.opacity);
|
|
73
|
+
}, [a, n, g, s];
|
|
152
74
|
}
|
|
153
|
-
class
|
|
75
|
+
class G extends q {
|
|
154
76
|
constructor(e) {
|
|
155
|
-
super(),
|
|
156
|
-
this,
|
|
157
|
-
e,
|
|
158
|
-
B,
|
|
159
|
-
K,
|
|
160
|
-
w,
|
|
161
|
-
{
|
|
162
|
-
text: 0,
|
|
163
|
-
icon_url: 1,
|
|
164
|
-
distance: 2,
|
|
165
|
-
opacity: 3,
|
|
166
|
-
name: 4,
|
|
167
|
-
i18n: 5
|
|
168
|
-
},
|
|
169
|
-
x
|
|
170
|
-
);
|
|
77
|
+
super(), x(this, e, k, j, y, { text: 0, icon_url: 1, opacity: 2 }, I);
|
|
171
78
|
}
|
|
172
79
|
}
|
|
173
80
|
export {
|
|
174
|
-
|
|
81
|
+
G as default
|
|
175
82
|
};
|
|
@@ -12,16 +12,14 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
|
|
|
12
12
|
readonly cruisePlugin: CruisePluginController;
|
|
13
13
|
/** GuideLineItem 索引 */
|
|
14
14
|
readonly itemMap: Map<string | number, GuideLineItem>;
|
|
15
|
-
|
|
15
|
+
/** 当新增一根线时,整体高度的偏移值 */
|
|
16
|
+
private heightOffset;
|
|
17
|
+
get disposed(): boolean;
|
|
16
18
|
state: {
|
|
17
19
|
visible: boolean;
|
|
18
20
|
enabled: boolean;
|
|
19
21
|
};
|
|
20
22
|
protected data?: PluginData;
|
|
21
|
-
/** 当新增一根线时,整体高度的偏移值 */
|
|
22
|
-
private heightOffset;
|
|
23
|
-
get disposed(): boolean;
|
|
24
|
-
private _config;
|
|
25
23
|
private _disposed;
|
|
26
24
|
constructor(five: Five, config?: Config);
|
|
27
25
|
load(serverData: PluginServerData | PluginData, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var f = (
|
|
1
|
+
var V = Object.defineProperty;
|
|
2
|
+
var S = Object.getOwnPropertySymbols;
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var f = (p, o, t) => o in p ? V(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
10
|
-
return
|
|
6
|
+
M.call(o, t) && f(p, t, o[t]);
|
|
7
|
+
if (S)
|
|
8
|
+
for (var t of S(o))
|
|
9
|
+
N.call(o, t) && f(p, t, o[t]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var d = (
|
|
13
|
-
var u = (
|
|
12
|
+
var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
|
+
var u = (p, o, t) => new Promise((i, s) => {
|
|
14
14
|
var a = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
r(t.next(m));
|
|
17
17
|
} catch (n) {
|
|
18
|
-
|
|
18
|
+
s(n);
|
|
19
19
|
}
|
|
20
20
|
}, e = (m) => {
|
|
21
21
|
try {
|
|
22
22
|
r(t.throw(m));
|
|
23
23
|
} catch (n) {
|
|
24
|
-
|
|
24
|
+
s(n);
|
|
25
25
|
}
|
|
26
26
|
}, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, e);
|
|
27
|
-
r((t = t.apply(
|
|
27
|
+
r((t = t.apply(p, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import { equal as
|
|
31
|
-
import { GuideLineItem as
|
|
32
|
-
import
|
|
33
|
-
import { objectAssignDeepExports as
|
|
34
|
-
import * as
|
|
29
|
+
import { Controller as O } from "../base/BasePluginWithData.js";
|
|
30
|
+
import { equal as P } from "../shared-utils/equal.js";
|
|
31
|
+
import { GuideLineItem as $ } from "./GuideLineItem/index.js";
|
|
32
|
+
import k from "../CruisePlugin/Controller.js";
|
|
33
|
+
import { objectAssignDeepExports as T } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
34
|
+
import * as _ from "three";
|
|
35
35
|
import "../base/BasePlugin.js";
|
|
36
36
|
import "../shared-utils/Subscribe.js";
|
|
37
37
|
import "hammerjs";
|
|
@@ -188,56 +188,52 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
188
188
|
import "../CruisePlugin/utils/formatRad.js";
|
|
189
189
|
import "../CruisePlugin/utils/linerValue.js";
|
|
190
190
|
import "../CruisePlugin/utils/sleep.js";
|
|
191
|
-
const
|
|
192
|
-
class
|
|
191
|
+
const A = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${A}`, xr = (p) => `${g}--${p}`;
|
|
192
|
+
class Wr extends O {
|
|
193
193
|
constructor(t, i) {
|
|
194
194
|
super(t, i);
|
|
195
|
-
d(this, "version",
|
|
195
|
+
d(this, "version", A);
|
|
196
196
|
d(this, "name", b);
|
|
197
197
|
d(this, "cruisePlugin");
|
|
198
198
|
/** GuideLineItem 索引 */
|
|
199
199
|
d(this, "itemMap", /* @__PURE__ */ new Map());
|
|
200
|
+
/** 当新增一根线时,整体高度的偏移值 */
|
|
201
|
+
d(this, "heightOffset", 0);
|
|
200
202
|
d(this, "state", {
|
|
201
203
|
visible: !1,
|
|
202
204
|
enabled: !0
|
|
203
205
|
});
|
|
204
206
|
d(this, "data");
|
|
205
|
-
/** 当新增一根线时,整体高度的偏移值 */
|
|
206
|
-
d(this, "heightOffset", 0);
|
|
207
|
-
d(this, "_config");
|
|
208
207
|
d(this, "_disposed", !1);
|
|
209
208
|
d(this, "disposedErrorLog", () => {
|
|
210
209
|
console.error(`${g} is disposed`);
|
|
211
210
|
});
|
|
212
|
-
this.
|
|
213
|
-
}
|
|
214
|
-
get config() {
|
|
215
|
-
return this._config;
|
|
211
|
+
this.cruisePlugin = new k(t, { useGuideLine: !1 }), Object.assign(window, { [`__${b}_DEBUG__`]: this });
|
|
216
212
|
}
|
|
217
213
|
get disposed() {
|
|
218
214
|
return this._disposed;
|
|
219
215
|
}
|
|
220
|
-
load(t, i,
|
|
216
|
+
load(t, i, s = !0) {
|
|
221
217
|
return u(this, null, function* () {
|
|
222
218
|
var v, w, E, I, y, L, D;
|
|
223
219
|
if (this.disposed)
|
|
224
220
|
return;
|
|
225
221
|
const a = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
|
|
226
222
|
this.hooks.emit("dataChange", e, a), this.data = e;
|
|
227
|
-
const r = e.config,
|
|
223
|
+
const r = e.config, m = {
|
|
228
224
|
panorama_style: {
|
|
229
|
-
visible:
|
|
225
|
+
visible: !1,
|
|
230
226
|
unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
|
|
231
227
|
width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
|
|
232
228
|
texture: { url: (E = r == null ? void 0 : r.arrowTextureUrl) != null ? E : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
|
|
233
229
|
}
|
|
234
|
-
},
|
|
235
|
-
var
|
|
236
|
-
return
|
|
237
|
-
})) != null ? y : [],
|
|
230
|
+
}, n = (y = (I = e.routes) == null ? void 0 : I.map((l) => {
|
|
231
|
+
var G;
|
|
232
|
+
return T({}, m, { id: (G = l.id) != null ? G : Date.now(), pano_group: l.panoIndexList });
|
|
233
|
+
})) != null ? y : [], h = (D = (L = e.lines) == null ? void 0 : L.map((l) => T({}, m, l))) != null ? D : [], C = [...n, ...h];
|
|
238
234
|
yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
|
|
239
235
|
this.addGuideLineItem(l);
|
|
240
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction:
|
|
236
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
241
237
|
});
|
|
242
238
|
}
|
|
243
239
|
formatData(t) {
|
|
@@ -273,14 +269,14 @@ class Ur extends P {
|
|
|
273
269
|
var a;
|
|
274
270
|
if (this.disposed)
|
|
275
271
|
return this.disposedErrorLog();
|
|
276
|
-
const
|
|
277
|
-
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !==
|
|
272
|
+
const s = c({}, this.state);
|
|
273
|
+
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), P(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
|
|
278
274
|
}
|
|
279
275
|
/** 添加一个 GuideLineItem */
|
|
280
276
|
addGuideLineItem(t) {
|
|
281
|
-
const i = t.render_id || t.id,
|
|
282
|
-
|
|
283
|
-
const a = new
|
|
277
|
+
const i = t.render_id || t.id, s = this.itemMap.get(i);
|
|
278
|
+
s && this.removeGuideLineItem(s);
|
|
279
|
+
const a = new $({ five: this.five, id: i, plugin: this });
|
|
284
280
|
return this.itemMap.set(i, a), t && a.setData(t), this.heightOffset += 1e-4, a.setHeightOffset(this.heightOffset), a;
|
|
285
281
|
}
|
|
286
282
|
/** 获取 Plugin 内的 GuideLineItem */
|
|
@@ -297,15 +293,15 @@ class Ur extends P {
|
|
|
297
293
|
function i(e) {
|
|
298
294
|
return Array.isArray(e) && e.every((r) => typeof r == "number");
|
|
299
295
|
}
|
|
300
|
-
function
|
|
301
|
-
return new
|
|
296
|
+
function s(e, r) {
|
|
297
|
+
return new _.Vector3().fromArray(e).distanceTo(new _.Vector3().fromArray(r)) < 0.01;
|
|
302
298
|
}
|
|
303
299
|
function a(e) {
|
|
304
300
|
var m;
|
|
305
301
|
const r = (m = e.tag) == null ? void 0 : m.position;
|
|
306
302
|
return i(r) ? t.every((n) => {
|
|
307
303
|
var h;
|
|
308
|
-
return i((h = n.tag) == null ? void 0 : h.position) ? !
|
|
304
|
+
return i((h = n.tag) == null ? void 0 : h.position) ? !s(r, n.tag.position) : !0;
|
|
309
305
|
}) : !1;
|
|
310
306
|
}
|
|
311
307
|
this.itemMap.forEach((e) => {
|
|
@@ -348,6 +344,6 @@ class Ur extends P {
|
|
|
348
344
|
}
|
|
349
345
|
}
|
|
350
346
|
export {
|
|
351
|
-
|
|
352
|
-
|
|
347
|
+
Wr as default,
|
|
348
|
+
xr as pluginFlag
|
|
353
349
|
};
|
|
@@ -63,7 +63,7 @@ class C {
|
|
|
63
63
|
n.setGeometryByPanoGroup(t.pano_group, d({ skipPanoGroup: m }, l));
|
|
64
64
|
} else
|
|
65
65
|
t.path && n.setGeometryByPath(u, l);
|
|
66
|
-
n.
|
|
66
|
+
n.setMartial(a), n.setVisibleFloorIndexes((r = t.visible_floor_indexes) != null ? r : null), n.setStartTag(i == null ? void 0 : i.start_tag), n.setEndTag(i == null ? void 0 : i.end_tag);
|
|
67
67
|
}
|
|
68
68
|
show() {
|
|
69
69
|
this._visible = !0, this.hooks.emit("show", { userAction: !0 });
|
|
@@ -2,7 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type GuideLinePlugin from './Controller';
|
|
3
3
|
import type * as PluginType from './typing';
|
|
4
4
|
import { GuideLineModeItem } from './GuideLineModeItem';
|
|
5
|
-
import
|
|
5
|
+
import { CruisePluginTypes } from '../CruisePlugin';
|
|
6
6
|
import { Subscribe } from '@realsee/five';
|
|
7
7
|
/** 路线引导实例。
|
|
8
8
|
* - 路线包括两个部分:全景路线和模型路线。
|