import { Action } from '@ngrx/store'; import { AlertMsgTypes } from '../../../alerts/model'; import { IOverlay } from '../../models/overlay.model'; import { IImageManualProcessArgs, IOverlaysImageProcess, IOverlaysScannedAreaData, IOverlaysTranslationData } from '../../../menu-items/cases/models/case.model'; import { IScannedArea } from '../reducers/overlay-status.reducer'; import { ILogMessage } from '../../../core/models/logger.model'; import { BBOX } from '@ansyn/imagery'; export declare enum OverlayStatusActionsTypes { SET_MANUAL_IMAGE_PROCESSING = "SET_MANUAL_IMAGE_PROCESSING", LOG_MANUAL_IMAGE_PROCESSING = "LOG_MANUAL_IMAGE_PROCESSING", BACK_TO_WORLD_VIEW = "BACK_TO_WORLD_VIEW", BACK_TO_WORLD_SUCCESS = "BACK_TO_WORLD_SUCCESS", BACK_TO_WORLD_FAILED = "BACK_TO_WORLD_FAILED", SET_FAVORITE_OVERLAYS = "SET_FAVORITE_OVERLAYS", TOGGLE_OVERLAY_FAVORITE = "TOGGLE_OVERLAY_FAVORITE", SET_AUTO_IMAGE_PROCESSING = "SET_AUTO_IMAGE_PROCESSING", UPDATE_OVERLAYS_MANUAL_PROCESS_ARGS = "UPDATE_OVERLAYS_MANUAL_PROCESS_ARGS", ADD_ALERT_MSG = "ADD_ALERT_MSG", REMOVE_ALERT_MSG = "REMOVE_ALERT_MSG", TOGGLE_DRAGGED_MODE = "TOGGLE_DRAGGED_MODE", SET_OVERLAY_TRANSLATION_DATA = "SET_OVERLAY_TRANSLATION_DATA", SET_OVERLAYS_TRANSLATION_DATA = "SET_OVERLAYS_TRANSLATION_DATA", SET_OVERLAY_SCANNED_AREA_DATA = "SET_OVERLAY_SCANNED_AREA_DATA", SET_OVERLAYS_SCANNED_AREA_DATA = "SET_OVERLAYS_SCANNED_AREA_DATA", ACTIVATE_SCANNED_AREA = "ACTIVATE_SCANNED_AREA", BACK_TO_EXTENT = "BACK_TO_EXTENT" } export declare type OverlayStatusActions = BackToWorldView | BackToWorldSuccess | BackToWorldFailed | ToggleFavoriteAction | SetFavoriteOverlaysAction | ActivateScannedAreaAction | SetOverlaysScannedAreaDataAction | SetOverlayScannedAreaDataAction | SetOverlayTranslationDataAction | SetOverlaysTranslationDataAction | ToggleDraggedModeAction; export declare class UpdateOverlaysManualProcessArgs implements Action { payload: IOverlaysImageProcess; type: OverlayStatusActionsTypes; constructor(payload: IOverlaysImageProcess); } export declare class ActivateScannedAreaAction implements Action { type: string; constructor(); } export declare class BackToExtentAction implements Action { payload: { mapId: string; extent: BBOX; }; type: string; constructor(payload: { mapId: string; extent: BBOX; }); } export declare class SetOverlayScannedAreaDataAction implements Action { payload: IScannedArea; type: string; constructor(payload: IScannedArea); } export declare class SetOverlaysScannedAreaDataAction implements Action { payload: IOverlaysScannedAreaData; type: string; constructor(payload: IOverlaysScannedAreaData); } export declare class SetAutoImageProcessing implements Action, ILogMessage { payload: { overlayId: any; isAuto: boolean; }; type: OverlayStatusActionsTypes; constructor(payload: { overlayId: any; isAuto: boolean; }); logMessage(): string; } export declare class BackToWorldView implements Action, ILogMessage { payload: { mapId: string; }; type: OverlayStatusActionsTypes; constructor(payload: { mapId: string; }); logMessage(): string; } export declare class SetManualImageProcessing implements Action { payload: { overlayId: string; imageManualProcessArgs: IImageManualProcessArgs; }; type: OverlayStatusActionsTypes; constructor(payload: { overlayId: string; imageManualProcessArgs: IImageManualProcessArgs; }); } export declare class LogManualImageProcessing implements Action, ILogMessage { payload: { changedArg: string; allArgs: IImageManualProcessArgs; }; type: OverlayStatusActionsTypes; constructor(payload: { changedArg: string; allArgs: IImageManualProcessArgs; }); logMessage(): string; } export declare class BackToWorldSuccess extends BackToWorldView { type: OverlayStatusActionsTypes; logMessage(): any; } export declare class BackToWorldFailed extends BackToWorldView { payload: { mapId: string; error: any; }; type: OverlayStatusActionsTypes; constructor(payload: { mapId: string; error: any; }); logMessage(): string; } export declare class ToggleFavoriteAction implements Action, ILogMessage { payload: { id: string; value: boolean; overlay?: IOverlay; }; type: string; constructor(payload: { id: string; value: boolean; overlay?: IOverlay; }); logMessage(): string; } export declare class SetFavoriteOverlaysAction implements Action { payload: IOverlay[]; type: OverlayStatusActionsTypes; constructor(payload: IOverlay[]); } export declare class AddAlertMsg implements Action, ILogMessage { payload: { value: string; key: AlertMsgTypes; }; type: OverlayStatusActionsTypes; constructor(payload: { value: string; key: AlertMsgTypes; }); logMessage(): string; } export declare class RemoveAlertMsg implements Action, ILogMessage { payload: { value: string; key: AlertMsgTypes; }; type: OverlayStatusActionsTypes; constructor(payload: { value: string; key: AlertMsgTypes; }); logMessage(): string; } export declare class ToggleDraggedModeAction implements Action, ILogMessage { payload: { mapId: string; overlayId: string; dragged: boolean; }; type: OverlayStatusActionsTypes; constructor(payload: { mapId: string; overlayId: string; dragged: boolean; }); logMessage(): string; } export declare class SetOverlayTranslationDataAction implements Action { payload: { overlayId: string; offset: [number, number]; }; type: OverlayStatusActionsTypes; constructor(payload: { overlayId: string; offset: [number, number]; }); } export declare class SetOverlaysTranslationDataAction implements Action { payload: IOverlaysTranslationData; type: OverlayStatusActionsTypes; constructor(payload: IOverlaysTranslationData); }