Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const timeRangeUpdated = eventFactory('time-range-updated');
export const repeatsProcessed = eventFactory('repeats-processed');
export const rowExpanded = eventFactory('row-expanded');
export const rowCollapsed = eventFactory('row-collapsed');
export const templateVariableValueUpdated = eventFactory('template-variable-value-updated');
export const submenuVisibilityChanged = eventFactory('submenu-visibility-changed');
export const dataFramesReceived = eventFactory('data-frames-received');
export const graphClicked = eventFactory('graph-click');
export const thresholdChanged = eventFactory('threshold-changed');
export const zoomOut = eventFactory('zoom-out');
export const shiftTime = eventFactory('shift-time');
export const elasticQueryUpdated = eventFactory('elastic-query-updated');
export const layoutModeChanged = eventFactory('layout-mode-changed');
export const jsonDiffReady = eventFactory('json-diff-ready');
export const closeTimepicker = eventFactory('closeTimepicker');
export const routeUpdated = eventFactory('$routeUpdate');
restore?: boolean;
animate?: boolean;
pos?: number;
}
/**
* Events
*/
export const showDashSearch = eventFactory('show-dash-search');
export const hideDashSearch = eventFactory('hide-dash-search');
export const hideDashEditor = eventFactory('hide-dash-editor');
export const dashScroll = eventFactory('dash-scroll');
export const dashLinksUpdated = eventFactory('dash-links-updated');
export const saveDashboard = eventFactory('save-dashboard');
export const dashboardFetchStart = eventFactory('dashboard-fetch-start');
export const dashboardSaved = eventFactory('dashboard-saved');
export const removePanel = eventFactory('remove-panel');
export const searchQuery = eventFactory('search-query');
export const locationChange = eventFactory('location-change');
export const timepickerOpen = eventFactory('timepickerOpen');
export const timepickerClosed = eventFactory('timepickerClosed');
export const showModal = eventFactory('show-modal');
export const showConfirmModal = eventFactory('confirm-modal');
export const hideModal = eventFactory('hide-modal');
export const dsRequestResponse = eventFactory('ds-request-response');
export const dsRequestError = eventFactory('ds-request-error');
import {
DataQuery,
DataQueryResponseData,
PanelPlugin,
PanelEvents,
DataLink,
DataTransformerConfig,
ScopedVars,
} from '@grafana/data';
import config from 'app/core/config';
import { PanelQueryRunner } from './PanelQueryRunner';
import { eventFactory } from '@grafana/data';
export const panelAdded = eventFactory('panel-added');
export const panelRemoved = eventFactory('panel-removed');
export interface GridPos {
x: number;
y: number;
w: number;
h: number;
static?: boolean;
}
const notPersistedProperties: { [str: string]: boolean } = {
events: true,
fullscreen: true,
isEditing: true,
isInView: true,
hasRefreshed: true,
export const playlistStarted = eventFactory('playlist-started');
export const playlistStopped = eventFactory('playlist-stopped');
export const toggleKioskMode = eventFactory('toggle-kiosk-mode');
export const toggleViewMode = eventFactory('toggle-view-mode');
export const timeRangeUpdated = eventFactory('time-range-updated');
export const repeatsProcessed = eventFactory('repeats-processed');
export const rowExpanded = eventFactory('row-expanded');
export const rowCollapsed = eventFactory('row-collapsed');
export const templateVariableValueUpdated = eventFactory('template-variable-value-updated');
export const submenuVisibilityChanged = eventFactory('submenu-visibility-changed');
export const dataFramesReceived = eventFactory('data-frames-received');
export const graphClicked = eventFactory('graph-click');
export const thresholdChanged = eventFactory('threshold-changed');
export const zoomOut = eventFactory('zoom-out');
export const shiftTime = eventFactory('shift-time');
export const elasticQueryUpdated = eventFactory('elastic-query-updated');
export const layoutModeChanged = eventFactory('layout-mode-changed');
export const jsonDiffReady = eventFactory('json-diff-ready');
export const closeTimepicker = eventFactory('closeTimepicker');
export const dsRequestResponse = eventFactory('ds-request-response');
export const dsRequestError = eventFactory('ds-request-error');
export const graphHover = eventFactory('graph-hover');
export const graphHoverClear = eventFactory('graph-hover-clear');
export const toggleSidemenuMobile = eventFactory('toggle-sidemenu-mobile');
export const toggleSidemenuHidden = eventFactory('toggle-sidemenu-hidden');
export const playlistStarted = eventFactory('playlist-started');
export const playlistStopped = eventFactory('playlist-stopped');
export const toggleKioskMode = eventFactory('toggle-kiosk-mode');
export const toggleViewMode = eventFactory('toggle-view-mode');
export const timeRangeUpdated = eventFactory('time-range-updated');
export const repeatsProcessed = eventFactory('repeats-processed');
export const rowExpanded = eventFactory('row-expanded');
export const rowCollapsed = eventFactory('row-collapsed');
export const templateVariableValueUpdated = eventFactory('template-variable-value-updated');
export const submenuVisibilityChanged = eventFactory('submenu-visibility-changed');
export const dataFramesReceived = eventFactory('data-frames-received');
export const graphClicked = eventFactory('graph-click');
export const thresholdChanged = eventFactory('threshold-changed');
export const zoomOut = eventFactory('zoom-out');
export const shiftTime = eventFactory('shift-time');
export const graphHover = eventFactory('graph-hover');
export const graphHoverClear = eventFactory('graph-hover-clear');
export const toggleSidemenuMobile = eventFactory('toggle-sidemenu-mobile');
export const toggleSidemenuHidden = eventFactory('toggle-sidemenu-hidden');
export const playlistStarted = eventFactory('playlist-started');
export const playlistStopped = eventFactory('playlist-stopped');
export const toggleKioskMode = eventFactory('toggle-kiosk-mode');
export const toggleViewMode = eventFactory('toggle-view-mode');
export const timeRangeUpdated = eventFactory('time-range-updated');
export const repeatsProcessed = eventFactory('repeats-processed');
export const rowExpanded = eventFactory('row-expanded');
export const rowCollapsed = eventFactory('row-collapsed');
export const templateVariableValueUpdated = eventFactory('template-variable-value-updated');
export const submenuVisibilityChanged = eventFactory('submenu-visibility-changed');
export const dataFramesReceived = eventFactory('data-frames-received');
export const graphClicked = eventFactory('graph-click');
export const thresholdChanged = eventFactory('threshold-changed');
export const zoomOut = eventFactory('zoom-out');
export const shiftTime = eventFactory('shift-time');
export const elasticQueryUpdated = eventFactory('elastic-query-updated');
export interface DashScrollPayload {
restore?: boolean;
animate?: boolean;
pos?: number;
}
/**
* Events
*/
export const showDashSearch = eventFactory('show-dash-search');
export const hideDashSearch = eventFactory('hide-dash-search');
export const hideDashEditor = eventFactory('hide-dash-editor');
export const dashScroll = eventFactory('dash-scroll');
export const dashLinksUpdated = eventFactory('dash-links-updated');
export const saveDashboard = eventFactory('save-dashboard');
export const dashboardFetchStart = eventFactory('dashboard-fetch-start');
export const dashboardSaved = eventFactory('dashboard-saved');
export const removePanel = eventFactory('remove-panel');
export const searchQuery = eventFactory('search-query');
export const locationChange = eventFactory('location-change');
export const timepickerOpen = eventFactory('timepickerOpen');
export const timepickerClosed = eventFactory('timepickerClosed');
export const showModal = eventFactory('show-modal');
export const showConfirmModal = eventFactory('confirm-modal');
export const hideModal = eventFactory('hide-modal');
export const timepickerClosed = eventFactory('timepickerClosed');
export const showModal = eventFactory('show-modal');
export const showConfirmModal = eventFactory('confirm-modal');
export const hideModal = eventFactory('hide-modal');
export const dsRequestResponse = eventFactory('ds-request-response');
export const dsRequestError = eventFactory('ds-request-error');
export const graphHover = eventFactory('graph-hover');
export const graphHoverClear = eventFactory('graph-hover-clear');
export const toggleSidemenuMobile = eventFactory('toggle-sidemenu-mobile');
export const toggleSidemenuHidden = eventFactory('toggle-sidemenu-hidden');
export const playlistStarted = eventFactory('playlist-started');
export const playlistStopped = eventFactory('playlist-stopped');
export const toggleKioskMode = eventFactory('toggle-kiosk-mode');
export const toggleViewMode = eventFactory('toggle-view-mode');
export const timeRangeUpdated = eventFactory('time-range-updated');
export const repeatsProcessed = eventFactory('repeats-processed');
export const rowExpanded = eventFactory('row-expanded');
export const rowCollapsed = eventFactory('row-collapsed');
export const templateVariableValueUpdated = eventFactory('template-variable-value-updated');
export const submenuVisibilityChanged = eventFactory('submenu-visibility-changed');
export const dataFramesReceived = eventFactory('data-frames-received');
export const graphClicked = eventFactory('graph-click');
handleIndex: any;
}
export interface DashScrollPayload {
restore?: boolean;
animate?: boolean;
pos?: number;
}
/**
* Events
*/
export const showDashSearch = eventFactory('show-dash-search');
export const hideDashSearch = eventFactory('hide-dash-search');
export const hideDashEditor = eventFactory('hide-dash-editor');
export const dashScroll = eventFactory('dash-scroll');
export const dashLinksUpdated = eventFactory('dash-links-updated');
export const saveDashboard = eventFactory('save-dashboard');
export const dashboardFetchStart = eventFactory('dashboard-fetch-start');
export const dashboardSaved = eventFactory('dashboard-saved');
export const removePanel = eventFactory('remove-panel');
export const searchQuery = eventFactory('search-query');
export const locationChange = eventFactory('location-change');
export const timepickerOpen = eventFactory('timepickerOpen');
export const timepickerClosed = eventFactory('timepickerClosed');
export const showModal = eventFactory('show-modal');
export const showConfirmModal = eventFactory('confirm-modal');
export const dashScroll = eventFactory('dash-scroll');
export const dashLinksUpdated = eventFactory('dash-links-updated');
export const saveDashboard = eventFactory('save-dashboard');
export const dashboardFetchStart = eventFactory('dashboard-fetch-start');
export const dashboardSaved = eventFactory('dashboard-saved');
export const removePanel = eventFactory('remove-panel');
export const searchQuery = eventFactory('search-query');
export const locationChange = eventFactory('location-change');
export const timepickerOpen = eventFactory('timepickerOpen');
export const timepickerClosed = eventFactory('timepickerClosed');
export const showModal = eventFactory('show-modal');
export const showConfirmModal = eventFactory('confirm-modal');
export const hideModal = eventFactory('hide-modal');
export const dsRequestResponse = eventFactory('ds-request-response');
export const dsRequestError = eventFactory('ds-request-error');
export const graphHover = eventFactory('graph-hover');
export const graphHoverClear = eventFactory('graph-hover-clear');
export const toggleSidemenuMobile = eventFactory('toggle-sidemenu-mobile');
export const toggleSidemenuHidden = eventFactory('toggle-sidemenu-hidden');
export const playlistStarted = eventFactory('playlist-started');
export const playlistStopped = eventFactory('playlist-stopped');
export const toggleKioskMode = eventFactory('toggle-kiosk-mode');
export const toggleViewMode = eventFactory('toggle-view-mode');