@realsee/dnalogel 2.16.0-11 → 2.16.0-12
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/CruisePlugin/typing.d.ts +1 -1
- package/dist/GuideLinePlugin/Controller.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/dist/GuideLinePlugin/typing.d.ts +8 -8
- package/dist/GuideLinePlugin/utils/index.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/dist/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +14 -14
- package/dist/index.js +1250 -1262
- package/dist/index.umd.js +29 -29
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/five/mode.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +27 -27
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +9 -9
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- 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/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +26 -26
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +17 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -6
- package/docs/types/GuideLinePluginType.PathItem.html +5 -6
- package/docs/types/GuideLinePluginType.PluginData.html +17 -7
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +3 -3
- package/libs/CruisePlugin/index.js +3 -3
- package/libs/CruisePlugin/typing.d.ts +1 -1
- package/libs/GuideLinePlugin/Controller.d.ts +1 -1
- package/libs/GuideLinePlugin/Controller.js +65 -72
- package/libs/GuideLinePlugin/GuideLineItem/index.js +21 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -4
- package/libs/GuideLinePlugin/index.js +4 -4
- package/libs/GuideLinePlugin/typing.d.ts +8 -8
- package/libs/GuideLinePlugin/typing.js +1 -32
- package/libs/GuideLinePlugin/utils/index.d.ts +1 -1
- package/libs/GuideLinePlugin/utils/index.js +9 -47
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +4 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +2 -2
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +3 -3
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/line.js +2 -2
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +2 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -4
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/typings/index.js +1 -18
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +8 -11
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +2 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +16 -18
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +2 -4
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -4
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +2 -4
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +12 -14
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +25 -27
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +10 -12
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +28 -30
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +15 -17
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -5
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -5
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -5
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +3 -5
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +4 -4
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +8 -10
- package/libs/PanoTagPlugin/controller/index.js +3 -3
- package/libs/PanoTagPlugin/index.js +3 -3
- package/libs/PanoTagPlugin/typings/index.js +4 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -5
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -6
- package/libs/PanoTagPlugin/utils/index.js +33 -35
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -4
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +7 -9
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/libs/PanoVideoPlugin/utils/index.js +0 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/index.js +1 -1
- package/libs/index.js +3 -3
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +2 -3
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -2
- package/libs/shared-utils/five/index.js +1 -1
- package/libs/shared-utils/five/mode.d.ts +1 -1
- package/libs/shared-utils/five/mode.js +2 -3
- package/libs/shared-utils/three/PointDomHelper.js +1 -1
- package/package.json +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -77
- package/libs/typings/math.type.js +0 -1
|
@@ -10,24 +10,24 @@ var d = (o, e, t) => e in o ? G(o, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
12
|
var s = (o, e, t) => (d(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
-
var h = (o, e, t) => new Promise((
|
|
13
|
+
var h = (o, e, t) => new Promise((r, n) => {
|
|
14
14
|
var l = (i) => {
|
|
15
15
|
try {
|
|
16
16
|
a(t.next(i));
|
|
17
17
|
} catch (m) {
|
|
18
|
-
|
|
18
|
+
n(m);
|
|
19
19
|
}
|
|
20
20
|
}, p = (i) => {
|
|
21
21
|
try {
|
|
22
22
|
a(t.throw(i));
|
|
23
23
|
} catch (m) {
|
|
24
|
-
|
|
24
|
+
n(m);
|
|
25
25
|
}
|
|
26
|
-
}, a = (i) => i.done ?
|
|
26
|
+
}, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(l, p);
|
|
27
27
|
a((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import { objectAssignDeepExports as S } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
30
|
-
import { GuideLineModeItem as
|
|
30
|
+
import { GuideLineModeItem as x } from "../GuideLineModeItem/index.js";
|
|
31
31
|
import _ from "../../CruisePlugin/Controller.js";
|
|
32
32
|
import { logError as k } from "../../shared-utils/log.js";
|
|
33
33
|
import { to as v } from "../../shared-utils/to.js";
|
|
@@ -44,23 +44,19 @@ class E {
|
|
|
44
44
|
s(this, "plugin");
|
|
45
45
|
s(this, "five");
|
|
46
46
|
s(this, "logError", (e) => k("GuideLineItem: ", e));
|
|
47
|
-
this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new
|
|
47
|
+
this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new x(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new x(this.five, { mode: "model", plugin: this.plugin, parent: this });
|
|
48
48
|
}
|
|
49
49
|
setData(e) {
|
|
50
50
|
this.setDataByMode("panorama", e), this.setDataByMode("model", e);
|
|
51
51
|
}
|
|
52
52
|
setDataByMode(e, t) {
|
|
53
|
-
const
|
|
54
|
-
if (
|
|
55
|
-
return;
|
|
56
|
-
const l = t.path, p = { url: this.plugin.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }, a = r, i = S({ texture: p }, r);
|
|
57
|
-
if (t.path)
|
|
58
|
-
n.setGeometryByPath(l, a);
|
|
59
|
-
else if (t.pano_group) {
|
|
53
|
+
const r = e === "panorama" ? this.panoramaItem : this.modelItem, n = e === "panorama" ? t.panorama_style : t.model_style, l = t.path, p = { url: this.plugin.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }, a = n, i = S({ texture: p }, n);
|
|
54
|
+
if (t.pano_group) {
|
|
60
55
|
const m = e === "panorama";
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
56
|
+
r.setGeometryByPanoGroup(t.pano_group, c({ skipPanoGroup: m }, a));
|
|
57
|
+
} else
|
|
58
|
+
t.path && r.setGeometryByPath(l, a);
|
|
59
|
+
r.setMartial(i), n != null && n.start_tag && r.setStartTag(n.start_tag), n != null && n.end_tag && r.setEndTag(n.end_tag);
|
|
64
60
|
}
|
|
65
61
|
dispose() {
|
|
66
62
|
this.panoramaItem.dispose(), this.modelItem.dispose();
|
|
@@ -71,9 +67,9 @@ class E {
|
|
|
71
67
|
return;
|
|
72
68
|
const t = c({ panoIndexList: this.panoramaItem.panoGroup }, e);
|
|
73
69
|
this.hooks.emit("walkStart", { userAction: !0 });
|
|
74
|
-
const [
|
|
75
|
-
if (this.hooks.emit("walkEnded", { userAction: !0 }),
|
|
76
|
-
return this.logError(
|
|
70
|
+
const [r] = yield v(M(this.five, t));
|
|
71
|
+
if (this.hooks.emit("walkEnded", { userAction: !0 }), r)
|
|
72
|
+
return this.logError(r.message);
|
|
77
73
|
});
|
|
78
74
|
}
|
|
79
75
|
}
|
|
@@ -83,11 +79,11 @@ function M(o, e) {
|
|
|
83
79
|
return;
|
|
84
80
|
const t = o.getCurrentState();
|
|
85
81
|
t.mode !== "Panorama" && (yield b(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
|
|
86
|
-
const
|
|
87
|
-
yield
|
|
82
|
+
const r = new _(o, { useGuideLine: !1 });
|
|
83
|
+
yield r.load(e), yield new Promise((n, l) => {
|
|
88
84
|
const p = o.getCurrentState();
|
|
89
85
|
let a = e.panoIndexList.slice();
|
|
90
|
-
p.panoIndex === a[0] && m(p.panoIndex),
|
|
86
|
+
p.panoIndex === a[0] && m(p.panoIndex), r.playFromStart();
|
|
91
87
|
function i(u) {
|
|
92
88
|
if (u !== "Panorama")
|
|
93
89
|
return f(new Error("mode not match"));
|
|
@@ -97,7 +93,7 @@ function M(o, e) {
|
|
|
97
93
|
if (a = a.slice(1), u !== I)
|
|
98
94
|
return f(new Error("panoIndex not match, wanted: " + I + ", got: " + u));
|
|
99
95
|
if (a.length === 0)
|
|
100
|
-
return
|
|
96
|
+
return y();
|
|
101
97
|
}
|
|
102
98
|
function g() {
|
|
103
99
|
o.off("modeChange", i), o.off("panoArrived", m);
|
|
@@ -105,8 +101,8 @@ function M(o, e) {
|
|
|
105
101
|
function f(u) {
|
|
106
102
|
g(), l(u);
|
|
107
103
|
}
|
|
108
|
-
function
|
|
109
|
-
g(),
|
|
104
|
+
function y() {
|
|
105
|
+
g(), n();
|
|
110
106
|
}
|
|
111
107
|
o.on("modeChange", i), o.on("panoArrived", m);
|
|
112
108
|
});
|
|
@@ -37,7 +37,6 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
37
37
|
import "../shared-utils/three/loadTexture.js";
|
|
38
38
|
import "../PanoTagPlugin/controller/index.js";
|
|
39
39
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
40
|
-
import "@realsee/five/gltf-loader";
|
|
41
40
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
42
41
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
43
42
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -133,11 +132,12 @@ import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
|
133
132
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
134
133
|
import "../vendor/classnames/index.js";
|
|
135
134
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
136
|
-
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
137
135
|
import "../CSS3DRenderPlugin/index.js";
|
|
138
136
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
139
137
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
140
138
|
import "../shared-utils/three/GLTFLoader.js";
|
|
139
|
+
import "@realsee/five/gltf-loader";
|
|
140
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
141
141
|
import "./Components/Tag.js";
|
|
142
142
|
import "./utils/index.js";
|
|
143
143
|
import "../base/BasePluginWithData.js";
|
|
@@ -21,9 +21,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
22
|
import { BetterTween as x, tweenProgress as L } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
23
23
|
import { loadTexture as V } from "../../shared-utils/three/loadTexture.js";
|
|
24
|
-
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
25
24
|
import p from "../../PanoTagPlugin/controller/index.js";
|
|
26
|
-
import "@realsee/five/gltf-loader";
|
|
27
25
|
import E from "../Components/Tag.js";
|
|
28
26
|
import { filterAdjacentDistinct as G } from "../utils/index.js";
|
|
29
27
|
const T = (
|
|
@@ -333,11 +331,11 @@ class M {
|
|
|
333
331
|
function A(r) {
|
|
334
332
|
return r.contentType === "Custom";
|
|
335
333
|
}
|
|
336
|
-
const
|
|
334
|
+
const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
337
335
|
__proto__: null,
|
|
338
336
|
GuideLineModeItem: M
|
|
339
337
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
340
338
|
export {
|
|
341
339
|
M as GuideLineModeItem,
|
|
342
|
-
|
|
340
|
+
J as GuideLineModeItem$1
|
|
343
341
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type GuideLinePlugin from './Controller';
|
|
2
2
|
import type { Five } from '@realsee/five';
|
|
3
3
|
import type * as PluginType from './typing';
|
|
4
|
+
import type { GuideLineItem } from './GuideLineItem';
|
|
4
5
|
import * as THREE from 'three';
|
|
5
|
-
import { GuideLineItem } from './GuideLineItem';
|
|
6
6
|
import { PanoTagPluginController, Tag } from '../PanoTagPlugin';
|
|
7
7
|
/** @link https://threejs.org/docs/index.html#api/en/extras/curves/CatmullRomCurve3 */
|
|
8
8
|
declare type CatmullRomCurve3RestParams = Omit<PluginType.CatmullRomCurve3, 'type' | 'points'>;
|
|
@@ -9,12 +9,10 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
10
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
11
11
|
import "../shared-utils/three/loadTexture.js";
|
|
12
|
-
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
13
|
-
import { GuideLineModeItem as Ci } from "./GuideLineModeItem/index.js";
|
|
14
12
|
import "../PanoTagPlugin/controller/index.js";
|
|
15
|
-
import "@realsee/five/gltf-loader";
|
|
16
13
|
import "./Components/Tag.js";
|
|
17
14
|
import "./utils/index.js";
|
|
15
|
+
import { GuideLineModeItem as Ci } from "./GuideLineModeItem/index.js";
|
|
18
16
|
import "../vendor/polyline-normals/index.js";
|
|
19
17
|
import "../vendor/polyline-miter-util/index.js";
|
|
20
18
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -35,6 +33,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
35
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
35
|
import "../shared-utils/animationFrame/index.js";
|
|
36
|
+
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
38
37
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
39
38
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
40
39
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
@@ -131,11 +130,12 @@ import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
|
131
130
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
132
131
|
import "../vendor/classnames/index.js";
|
|
133
132
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
134
|
-
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
135
133
|
import "../CSS3DRenderPlugin/index.js";
|
|
136
134
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
137
135
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
138
136
|
import "../shared-utils/three/GLTFLoader.js";
|
|
137
|
+
import "@realsee/five/gltf-loader";
|
|
138
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
139
139
|
export {
|
|
140
140
|
Ci as GuideLineModeItem
|
|
141
141
|
};
|
|
@@ -4,9 +4,9 @@ import { GuideLineModeItem$1 as it } from "./GuideLineModeItem/index.js";
|
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "hammerjs";
|
|
9
8
|
import "three";
|
|
9
|
+
import "@realsee/five";
|
|
10
10
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
11
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
12
12
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -24,9 +24,9 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
24
24
|
import "../shared-utils/isAbsoluteURL.js";
|
|
25
25
|
import "../shared-utils/equal.js";
|
|
26
26
|
import "../shared-utils/isTruelyObject.js";
|
|
27
|
-
import "../shared-utils/uuid.js";
|
|
28
27
|
import "../CruisePlugin/Controller.js";
|
|
29
28
|
import "./index.js";
|
|
29
|
+
import "../shared-utils/uuid.js";
|
|
30
30
|
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
31
31
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
32
32
|
import "../CruisePlugin/utils/safeCall.js";
|
|
@@ -50,7 +50,6 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
50
50
|
import "../shared-utils/three/loadTexture.js";
|
|
51
51
|
import "../PanoTagPlugin/controller/index.js";
|
|
52
52
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
53
|
-
import "@realsee/five/gltf-loader";
|
|
54
53
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
55
54
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
56
55
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -143,11 +142,12 @@ import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
|
143
142
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
144
143
|
import "../vendor/classnames/index.js";
|
|
145
144
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
146
|
-
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
147
145
|
import "../CSS3DRenderPlugin/index.js";
|
|
148
146
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
149
147
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
150
148
|
import "../shared-utils/three/GLTFLoader.js";
|
|
149
|
+
import "@realsee/five/gltf-loader";
|
|
150
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
151
151
|
import "./Components/Tag.js";
|
|
152
152
|
import "./utils/index.js";
|
|
153
153
|
import "../shared-utils/to.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type GuideLinePlugin from '.';
|
|
2
2
|
import type { RequireAtLeastOne } from 'type-fest';
|
|
3
3
|
import type * as BasePluginWithData from '../base/BasePluginWithData';
|
|
4
|
-
import { Tag } from '../PanoTagPlugin';
|
|
4
|
+
import type { Tag } from '../PanoTagPlugin';
|
|
5
5
|
export interface RouteConfig {
|
|
6
6
|
arrowTextureUrl?: string;
|
|
7
7
|
skipPanoIndexMesh?: boolean;
|
|
@@ -9,17 +9,17 @@ export interface RouteConfig {
|
|
|
9
9
|
unitHeight?: number;
|
|
10
10
|
}
|
|
11
11
|
export interface Route extends RouteConfig {
|
|
12
|
+
id?: number;
|
|
12
13
|
panoIndexList: number[];
|
|
13
14
|
}
|
|
14
|
-
export interface PluginDataV1 {
|
|
15
|
-
routes: Route[];
|
|
16
|
-
config?: RouteConfig;
|
|
17
|
-
}
|
|
18
15
|
export interface PluginDataV2 {
|
|
19
|
-
/** 路线数据 */
|
|
20
|
-
lines: GuideLineItem[];
|
|
21
16
|
}
|
|
22
|
-
export declare type PluginData =
|
|
17
|
+
export declare type PluginData = {
|
|
18
|
+
/** 路线数据 */
|
|
19
|
+
lines?: GuideLineItem[];
|
|
20
|
+
routes?: Route[];
|
|
21
|
+
config?: RouteConfig;
|
|
22
|
+
};
|
|
23
23
|
export interface PluginServerData extends BasePluginWithData.ServerData {
|
|
24
24
|
data: PluginData;
|
|
25
25
|
}
|
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
3
|
-
import "three";
|
|
4
|
-
import "@realsee/five/gltf-loader";
|
|
5
|
-
import "../shared-utils/three/loadTexture.js";
|
|
6
|
-
import "hammerjs";
|
|
7
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
11
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
12
|
-
import "animejs";
|
|
13
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
14
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
15
|
-
import "../vendor/lodash.get/index.js";
|
|
16
|
-
import "../vendor/lodash.clonedeep/index.js";
|
|
17
|
-
import "../vendor/lodash.isequal/index.js";
|
|
18
|
-
import "../vendor/classnames/index.js";
|
|
19
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
20
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
21
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
23
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
24
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
25
|
-
import "../shared-utils/Subscribe.js";
|
|
26
|
-
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
27
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
28
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
29
|
-
import "../shared-utils/three/centerPoint.js";
|
|
30
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
31
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
32
|
-
import "../_commonjsHelpers.js";
|
|
1
|
+
|
|
@@ -1,52 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "hammerjs";
|
|
5
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
6
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
7
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
-
import "../../shared-utils/three/loadTexture.js";
|
|
9
|
-
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
10
|
-
import "@realsee/five/gltf-loader";
|
|
11
|
-
import "../../PanoTagPlugin/utils/device.js";
|
|
12
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
13
|
-
import "animejs";
|
|
14
|
-
import "../../PanoTagPlugin/utils/constants.js";
|
|
15
|
-
import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
16
|
-
import "../../vendor/lodash.get/index.js";
|
|
17
|
-
import "../../vendor/lodash.clonedeep/index.js";
|
|
18
|
-
import "../../vendor/lodash.isequal/index.js";
|
|
19
|
-
import "../../vendor/classnames/index.js";
|
|
20
|
-
import "../../shared-utils/three/GLTFLoader.js";
|
|
21
|
-
import "../../vendor/gl-vec2/add.js";
|
|
22
|
-
import "../../vendor/gl-vec2/set.js";
|
|
23
|
-
import "../../vendor/gl-vec2/normalize.js";
|
|
24
|
-
import "../../vendor/gl-vec2/subtract.js";
|
|
25
|
-
import "../../vendor/gl-vec2/dot.js";
|
|
26
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
27
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
28
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
29
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
30
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
31
|
-
import "../../shared-utils/Subscribe.js";
|
|
32
|
-
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
33
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
35
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
36
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
37
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
38
|
-
import "../../_commonjsHelpers.js";
|
|
39
|
-
function T(o) {
|
|
40
|
-
const t = o.data, r = o.item, i = o.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
41
|
-
if (!i)
|
|
1
|
+
function s(e) {
|
|
2
|
+
const t = e.data, o = e.item, a = e.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
3
|
+
if (!a)
|
|
42
4
|
return;
|
|
43
|
-
const
|
|
44
|
-
t.path ?
|
|
5
|
+
const r = t.path, n = a, i = a;
|
|
6
|
+
t.path ? o.setGeometryByPath(r, n) : t.pano_group && o.setGeometryByPanoGroup(t.pano_group, n), o.setMartial(i);
|
|
45
7
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
8
|
+
function l(e) {
|
|
9
|
+
return e.length === 0 ? [] : e.filter((t, o) => t !== e[o - 1]);
|
|
48
10
|
}
|
|
49
11
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
12
|
+
l as filterAdjacentDistinct,
|
|
13
|
+
s as updateGuideLineModeItemByData
|
|
52
14
|
};
|
|
@@ -34,8 +34,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
-
import "@realsee/five";
|
|
38
37
|
import "hammerjs";
|
|
38
|
+
import "@realsee/five";
|
|
39
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
40
|
import "../shared-utils/isAbsoluteURL.js";
|
|
41
41
|
const ae = (i, { videoElement: b }) => {
|
|
@@ -19,8 +19,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
|
-
import "@realsee/five";
|
|
23
22
|
import "hammerjs";
|
|
23
|
+
import "@realsee/five";
|
|
24
24
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
25
|
import "../shared-utils/isAbsoluteURL.js";
|
|
26
26
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Five } from '@realsee/five';
|
|
2
2
|
import * as BasePlugin from '../base/BasePlugin';
|
|
3
|
-
import * as THREE from 'three';
|
|
3
|
+
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper/index';
|
|
5
5
|
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
6
|
import type { HelperConfig, HelperOffset, Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "three";
|
|
2
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
3
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
4
2
|
import { PLUGIN as pr } from "./Controller.js";
|
|
5
3
|
import "@realsee/five";
|
|
6
4
|
import "../base/BasePlugin.js";
|
|
7
5
|
import "../shared-utils/Subscribe.js";
|
|
8
6
|
import "hammerjs";
|
|
7
|
+
import "three";
|
|
9
8
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
11
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -36,6 +35,7 @@ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
|
36
35
|
import "../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
37
36
|
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
38
37
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
38
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
39
39
|
import "../shared-utils/isNil.js";
|
|
40
40
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
41
41
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
@@ -4,12 +4,12 @@ var t = (i, e, o) => (l(i, typeof e != "symbol" ? e + "" : e, o), o);
|
|
|
4
4
|
import u from "../Model/line.js";
|
|
5
5
|
import m from "../Model/point.js";
|
|
6
6
|
import { preventDefault as r } from "../utils/ironbox.js";
|
|
7
|
-
import "three";
|
|
8
7
|
import "../../shared-utils/uuid.js";
|
|
9
|
-
import "@realsee/five";
|
|
10
8
|
import "../utils/line.js";
|
|
11
9
|
import "@realsee/five/line";
|
|
12
10
|
import "../utils/constants.js";
|
|
11
|
+
import "three";
|
|
12
|
+
import "@realsee/five";
|
|
13
13
|
import "../utils/distanceDom.js";
|
|
14
14
|
import "../utils/isNDCPointInScreen.js";
|
|
15
15
|
import "../../shared-utils/removeArrayItem.js";
|
|
@@ -9,12 +9,12 @@ import { throttle as v } from "../../shared-utils/throttle.js";
|
|
|
9
9
|
import c from "./BaseController.js";
|
|
10
10
|
import { getIntersectionFromEvent as r } from "../utils/getIntersectionFromEvent.js";
|
|
11
11
|
import { Polyline as P } from "../Model/polyline.js";
|
|
12
|
-
import "three";
|
|
13
|
-
import "@realsee/five/line";
|
|
14
|
-
import "../utils/constants.js";
|
|
15
12
|
import "@realsee/five";
|
|
16
13
|
import "../../shared-utils/uuid.js";
|
|
17
14
|
import "../utils/line.js";
|
|
15
|
+
import "@realsee/five/line";
|
|
16
|
+
import "../utils/constants.js";
|
|
17
|
+
import "three";
|
|
18
18
|
import "../utils/distanceDom.js";
|
|
19
19
|
import "../utils/isNDCPointInScreen.js";
|
|
20
20
|
import "../../shared-utils/removeArrayItem.js";
|
|
@@ -11,11 +11,11 @@ import C from "../utils/isNDCPointInScreen.js";
|
|
|
11
11
|
import { closestPointOnLine as G } from "../utils/math.js";
|
|
12
12
|
import { Polyline as N } from "../Model/polyline.js";
|
|
13
13
|
import R from "../Modules/rangePiece/index.js";
|
|
14
|
-
import "@realsee/five/line";
|
|
15
|
-
import "../utils/constants.js";
|
|
16
14
|
import "@realsee/five";
|
|
17
15
|
import "../../shared-utils/uuid.js";
|
|
18
16
|
import "../utils/line.js";
|
|
17
|
+
import "@realsee/five/line";
|
|
18
|
+
import "../utils/constants.js";
|
|
19
19
|
import "../utils/distanceDom.js";
|
|
20
20
|
import "../Model/point.js";
|
|
21
21
|
import "../../shared-utils/removeArrayItem.js";
|
|
@@ -2,14 +2,14 @@ var r = Object.defineProperty;
|
|
|
2
2
|
var d = (n, o, e) => o in n ? r(n, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[o] = e;
|
|
3
3
|
var s = (n, o, e) => (d(n, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
4
|
import a from "hammerjs";
|
|
5
|
-
import "three";
|
|
6
|
-
import "@realsee/five/line";
|
|
7
|
-
import "../utils/constants.js";
|
|
8
|
-
import "@realsee/five";
|
|
9
5
|
import h from "./BaseController.js";
|
|
10
6
|
import "../Model/line.js";
|
|
11
7
|
import "../../shared-utils/uuid.js";
|
|
12
8
|
import "../utils/line.js";
|
|
9
|
+
import "@realsee/five/line";
|
|
10
|
+
import "../utils/constants.js";
|
|
11
|
+
import "three";
|
|
12
|
+
import "@realsee/five";
|
|
13
13
|
import "../utils/distanceDom.js";
|
|
14
14
|
import "../utils/isNDCPointInScreen.js";
|
|
15
15
|
import "../Model/point.js";
|
|
@@ -10,15 +10,15 @@ import { closestPointOnLine as A } from "../utils/math.js";
|
|
|
10
10
|
import { findClosestPoint as T } from "../utils/findClosestPoint.js";
|
|
11
11
|
import { findAssociatedLines as v } from "../utils/findAssociatedLines.js";
|
|
12
12
|
import { getPointFromHammerEvent as S } from "../utils/getPointFromHammerEvent.js";
|
|
13
|
-
import "@realsee/five/line";
|
|
14
|
-
import "../utils/constants.js";
|
|
15
|
-
import "@realsee/five";
|
|
16
13
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
17
14
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
18
15
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
19
16
|
import "../Model/line.js";
|
|
20
17
|
import "../../shared-utils/uuid.js";
|
|
21
18
|
import "../utils/line.js";
|
|
19
|
+
import "@realsee/five/line";
|
|
20
|
+
import "../utils/constants.js";
|
|
21
|
+
import "@realsee/five";
|
|
22
22
|
import "../utils/distanceDom.js";
|
|
23
23
|
import "../Model/point.js";
|
|
24
24
|
import "../../shared-utils/removeArrayItem.js";
|
|
@@ -2,11 +2,11 @@ import type { Config } from '../typings';
|
|
|
2
2
|
import type { OpenParameter, PluginData } from '../typings/data';
|
|
3
3
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
4
4
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
5
|
+
import type { Polyline } from '../Model/polyline';
|
|
5
6
|
import Magnifier, { MagnifierParameter } from '../Modules/Magnifier';
|
|
6
7
|
import { Five, Subscribe } from '@realsee/five';
|
|
7
8
|
import { UIControllerParams } from '../Modules/UIController';
|
|
8
9
|
import { GuideControllerParams } from '../Modules/GuideController';
|
|
9
|
-
import { Polyline } from '../Model/polyline';
|
|
10
10
|
export declare type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
11
11
|
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
12
12
|
openParams?: OpenParameter;
|
|
@@ -24,12 +24,12 @@ import { getMouseGroup as D } from "../utils/mouseGroup.js";
|
|
|
24
24
|
import { UIController as C } from "../Modules/UIController/index.js";
|
|
25
25
|
import { GuideController as E } from "../Modules/GuideController.js";
|
|
26
26
|
import { ShortcutKeyController as G } from "./ShortcutKeyController.js";
|
|
27
|
-
import "@realsee/five/line";
|
|
28
|
-
import "../utils/constants.js";
|
|
29
27
|
import "hammerjs";
|
|
30
28
|
import "../Model/line.js";
|
|
31
29
|
import "../../shared-utils/uuid.js";
|
|
32
30
|
import "../utils/line.js";
|
|
31
|
+
import "@realsee/five/line";
|
|
32
|
+
import "../utils/constants.js";
|
|
33
33
|
import "../utils/distanceDom.js";
|
|
34
34
|
import "../utils/isNDCPointInScreen.js";
|
|
35
35
|
import "../Model/point.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from '../typings';
|
|
2
2
|
import type { PluginData } from '../typings/data';
|
|
3
|
-
import Line from './line';
|
|
3
|
+
import type Line from './line';
|
|
4
4
|
import { Polyline } from './polyline';
|
|
5
5
|
import { Subscribe } from '@realsee/five';
|
|
6
6
|
declare type IModelEvent = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var n = Object.defineProperty;
|
|
2
2
|
var s = (o, i, e) => i in o ? n(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e;
|
|
3
3
|
var t = (o, i, e) => (s(o, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
-
import "three";
|
|
5
4
|
import { Polyline as r } from "./polyline.js";
|
|
6
|
-
import "@realsee/five/line";
|
|
7
|
-
import "../utils/constants.js";
|
|
8
5
|
import { Subscribe as p } from "@realsee/five";
|
|
9
6
|
import "./line.js";
|
|
10
7
|
import "../../shared-utils/uuid.js";
|
|
11
8
|
import "../utils/line.js";
|
|
9
|
+
import "@realsee/five/line";
|
|
10
|
+
import "../utils/constants.js";
|
|
11
|
+
import "three";
|
|
12
12
|
import "../utils/distanceDom.js";
|
|
13
13
|
import "../utils/isNDCPointInScreen.js";
|
|
14
14
|
import "./point.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Model } from '.';
|
|
2
|
-
import Point from './point';
|
|
2
|
+
import type Point from './point';
|
|
3
3
|
import type { LineJson } from '../typings/data';
|
|
4
4
|
import type { Line as FiveLine } from '@realsee/five/line';
|
|
5
|
-
import { Polyline } from './polyline';
|
|
5
|
+
import type { Polyline } from './polyline';
|
|
6
6
|
import { Subscribe, SubscribeEventMap } from '@realsee/five';
|
|
7
7
|
import { DistanceItem } from '../utils/distanceDom';
|
|
8
8
|
export interface ILineHook extends SubscribeEventMap {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var r = Object.defineProperty;
|
|
2
2
|
var m = (s, t, i) => t in s ? r(s, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[t] = i;
|
|
3
3
|
var e = (s, t, i) => (m(s, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import "three";
|
|
5
4
|
import { uuid as c } from "../../shared-utils/uuid.js";
|
|
6
|
-
import { Subscribe as d } from "@realsee/five";
|
|
7
5
|
import { createLineMesh as h } from "../utils/line.js";
|
|
6
|
+
import { Subscribe as d } from "@realsee/five";
|
|
8
7
|
import { createDistanceItem as p } from "../utils/distanceDom.js";
|
|
9
8
|
import "@realsee/five/line";
|
|
10
9
|
import "../utils/constants.js";
|
|
10
|
+
import "three";
|
|
11
11
|
import "../utils/isNDCPointInScreen.js";
|
|
12
12
|
class l {
|
|
13
13
|
constructor(t, i, o) {
|
|
@@ -2,7 +2,7 @@ import type { PolylineJson } from '../typings/data';
|
|
|
2
2
|
import Line from './line';
|
|
3
3
|
import Point from './point';
|
|
4
4
|
import { Subscribe } from '@realsee/five';
|
|
5
|
-
import { Model } from '.';
|
|
5
|
+
import type { Model } from '.';
|
|
6
6
|
export declare type PolylineEventMap = {
|
|
7
7
|
/** 新增线条
|
|
8
8
|
* @param line 被创建的线条
|