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,CAAgB,CAChE,CAEA,IAAIC,EAEG,SAASC,GAAoB,CAClC,OAAKD,IACHA,EAAU,IAAIf,GAETe,CACT,C,yECzIO,MAAM5P,EAAuB,CAAC,CAAE,MAAA5Y,EAAO,QAAAiH,EAAS,SAAAE,CAAS,IAAa,CAC3E,MAAMuhB,KAAiB,eACpBpe,GAAc,CACbnD,EACEmD,GAAG,OACC,CACE,GAAI,aACJ,QAASA,CACX,EACA,MACN,CACF,EACA,CAACnD,CAAQ,CACX,EAEA,OACE,gBAAC,IAAW,CAAC,MAAOnH,GAAO,QAAS,SAAU0oB,EAAgB,KAAMzhB,EAAQ,KAAM,YAAY,eAAgB,EAElH,C,yBCxBA,EAA6C,CAAE,MAAO,EAAK,EAC3D,IAAI0hB,EAAU,EAAQ,IAAO,EACzBC,EAAU,EAAQ,KAAO,EACzBC,EAAeF,EAAQ,gBAAgB,EAAQ,KAAc,CAAC,EAClE,SAASG,EAASC,EAAIC,EAAM,CACpBA,IAAS,SAAUA,EAAO,CAAC,GAC/B,IAAIC,EAAKJ,EAAa,QAAQE,EAAIC,EAAM,CACpC,QAAS,EACb,CAAC,EAAG7wB,EAAQ8wB,EAAG,CAAC,EAAGxP,EAAWwP,EAAG,CAAC,EAClC,OAAAL,EAAQ,UAAU,UAAY,CAC1BnP,EAAS,CACb,EAAG,CAACA,CAAQ,CAAC,EACNthB,CACX,CACA+wB,EAAQ,EAAUJ,C","sources":["webpack://grafana/./public/app/core/services/StateManagerBase.ts","webpack://grafana/./public/app/features/alerting/getAlertingValidationMessage.ts","webpack://grafana/./public/app/core/navigation/kiosk.ts","webpack://grafana/./public/app/features/storage/StorageFolderPage.tsx","webpack://grafana/./public/app/features/library-panels/components/SaveLibraryPanelModal/SaveLibraryPanelModal.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/state/actions.ts","webpack://grafana/./public/app/features/dashboard/components/SaveDashboard/UnsavedChangesModal.tsx","webpack://grafana/./public/app/features/dashboard/components/DashboardPrompt/DashboardPrompt.tsx","webpack://grafana/./public/app/features/dashboard/components/HelpWizard/SupportSnapshotService.ts","webpack://grafana/./public/app/features/dashboard/components/HelpWizard/HelpWizard.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/usePanelLatestData.ts","webpack://grafana/./public/app/features/inspector/InspectMetadataTab.tsx","webpack://grafana/./public/app/features/dashboard/components/Inspector/InspectContent.tsx","webpack://grafana/./public/app/features/dashboard/components/Inspector/hooks.ts","webpack://grafana/./public/app/features/dashboard/components/Inspector/PanelInspector.tsx","webpack://grafana/./public/app/features/variables/pickers/PickerRenderer.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/SubMenuItems.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/state/utils.ts","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/AngularPanelOptions.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/DynamicConfigValueEditor.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/OverrideCategoryTitle.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/getFieldOverrideElements.tsx","webpack://grafana/./public/app/features/library-panels/components/LibraryPanelInfo/LibraryPanelInfo.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/getLibraryPanelOptions.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/getPanelFrameOptions.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/state/OptionSearchEngine.ts","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/state/getRecentOptions.ts","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/OptionsPaneOptions.tsx","webpack://grafana/./public/app/features/dashboard/state/selectors.ts","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/VisualizationButton.tsx","webpack://grafana/./public/app/features/library-panels/components/ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx","webpack://grafana/./public/app/features/library-panels/components/PanelLibraryOptionsGroup/PanelLibraryOptionsGroup.tsx","webpack://grafana/./public/app/features/panel/state/getAllSuggestions.ts","webpack://grafana/./public/app/features/panel/components/VizTypePicker/VisualizationSuggestionCard.tsx","webpack://grafana/./public/app/features/panel/components/VizTypePicker/VisualizationSuggestions.tsx","webpack://grafana/./public/app/features/panel/components/VizTypePicker/VizTypePickerPlugin.tsx","webpack://grafana/./public/app/features/panel/components/VizTypePicker/VizTypePicker.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/VisualizationSelectPane.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/OptionsPane.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/PanelEditorTableView.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/PanelNotSupported.tsx","webpack://grafana/./public/app/features/alerting/StateHistory.tsx","webpack://grafana/./public/app/features/alerting/TestRuleResult.tsx","webpack://grafana/./public/app/features/alerting/AlertTab.tsx","webpack://grafana/./public/app/features/alerting/unified/components/panel-alerts-tab/NewRuleFromPanelButton.tsx","webpack://grafana/./public/app/features/alerting/unified/hooks/usePanelCombinedRules.ts","webpack://grafana/./public/app/features/alerting/unified/PanelAlertTabContent.tsx","webpack://grafana/./public/app/features/alerting/AlertTabIndex.tsx","webpack://grafana/./public/app/features/alerting/unified/PanelAlertTab.tsx","webpack://grafana/./public/app/core/utils/docsLinks.ts","webpack://grafana/./public/app/features/dashboard/components/TransformationsEditor/TransformationEditor.tsx","webpack://grafana/./public/app/features/dashboard/components/TransformationsEditor/TransformationFilter.tsx","webpack://grafana/./public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRow.tsx","webpack://grafana/./public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRows.tsx","webpack://grafana/./public/app/features/dashboard/components/TransformationsEditor/TransformationsEditor.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/PanelEditorQueries.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/PanelEditorTabs.tsx","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/state/selectors.ts","webpack://grafana/./public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/AnnotationPicker.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/Annotations.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/DashboardLinksDashboard.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx","webpack://grafana/./public/app/features/dashboard/components/SubMenu/SubMenu.tsx","webpack://grafana/./public/app/features/dashboard/containers/DashboardPage.tsx","webpack://grafana/./public/app/features/dashboard/containers/NewDashboardWithDS.tsx","webpack://grafana/./public/app/features/scenes/dashboard/DashboardScene.tsx","webpack://grafana/./public/app/features/scenes/dashboard/utils.ts","webpack://grafana/./public/app/features/scenes/dashboard/ShareQueryDataProvider.ts","webpack://grafana/./public/app/features/scenes/dashboard/DashboardsLoader.ts","webpack://grafana/./public/app/features/storage/storage.ts","webpack://grafana/./public/app/plugins/panel/geomap/editor/FrameSelectionEditor.tsx","webpack://grafana/./.yarn/__virtual__/react-use-virtual-dd7926f458/3/opt/drone/yarncache/react-use-npm-17.4.0-0ef4521544-0889da919b.zip/node_modules/react-use/lib/useAsync.js"],"sourcesContent":["import { useEffect } from 'react';\nimport { Observer, Subject, Subscription } from 'rxjs';\n\nimport { useForceUpdate } from '@grafana/ui';\n\nexport class StateManagerBase {\n private _subject = new Subject();\n private _state: TState;\n\n constructor(state: TState) {\n this._state = state;\n }\n\n useState() {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useLatestState(this);\n }\n\n get state() {\n return this._state;\n }\n\n setState(update: Partial) {\n this._state = {\n ...this._state,\n ...update,\n };\n this._subject.next(this._state);\n }\n\n /**\n * Subscribe to the scene state subject\n **/\n subscribeToState(observerOrNext?: Partial>): Subscription {\n return this._subject.subscribe(observerOrNext);\n }\n}\n/**\n * This hook is always returning model.state instead of a useState that remembers the last state emitted on the subject\n * The reason for this is so that if the model instance change this function will always return the latest state.\n */\nfunction useLatestState(model: StateManagerBase): TState {\n const forceUpdate = useForceUpdate();\n\n useEffect(() => {\n const s = model.subscribeToState({ next: forceUpdate });\n return () => s.unsubscribe();\n }, [model, forceUpdate]);\n\n return model.state;\n}\n","import { DataQuery, DataSourceRef, DataTransformerConfig } from '@grafana/data';\nimport { DataSourceSrv } from '@grafana/runtime';\n\nexport const getDefaultCondition = () => ({\n type: 'query',\n query: { params: ['A', '5m', 'now'] },\n reducer: { type: 'avg', params: [] as any[] },\n evaluator: { type: 'gt', params: [null] as any[] },\n operator: { type: 'and' },\n});\n\nexport const getAlertingValidationMessage = async (\n transformations: DataTransformerConfig[] | undefined,\n targets: DataQuery[],\n datasourceSrv: DataSourceSrv,\n datasource: DataSourceRef | null\n): Promise => {\n if (targets.length === 0) {\n return 'Could not find any metric queries';\n }\n\n if (transformations && transformations.length) {\n return 'Transformations are not supported in alert queries';\n }\n\n let alertingNotSupported = 0;\n let templateVariablesNotSupported = 0;\n\n for (const target of targets) {\n const dsRef = target.datasource || datasource;\n const ds = await datasourceSrv.get(dsRef);\n if (!ds.meta.alerting) {\n alertingNotSupported++;\n } else if (ds.targetContainsTemplate && ds.targetContainsTemplate(target)) {\n templateVariablesNotSupported++;\n }\n }\n\n if (alertingNotSupported === targets.length) {\n return 'The datasource does not support alerting queries';\n }\n\n if (templateVariablesNotSupported === targets.length) {\n return 'Template variables are not supported in alert queries';\n }\n\n return '';\n};\n","import { UrlQueryMap } from '@grafana/data';\n\nimport { KioskMode } from '../../types';\n\n// TODO Remove after topnav feature toggle is permanent and old NavBar is removed\nexport function getKioskMode(queryParams: UrlQueryMap): KioskMode | null {\n switch (queryParams.kiosk) {\n case 'tv':\n return KioskMode.TV;\n // legacy support\n case '1':\n case true:\n return KioskMode.Full;\n default:\n return null;\n }\n}\n","import React from 'react';\nimport { useAsync } from 'react-use';\n\nimport { DataFrame, NavModel, NavModelItem } from '@grafana/data';\nimport { Card, Icon, Spinner } from '@grafana/ui';\nimport { Page } from 'app/core/components/Page/Page';\nimport { GrafanaRouteComponentProps } from 'app/core/navigation/types';\n\nimport { getGrafanaStorage } from './storage';\n\nexport interface Props extends GrafanaRouteComponentProps<{ slug: string }> {}\n\nexport function StorageFolderPage(props: Props) {\n const slug = props.match.params.slug ?? '';\n const listing = useAsync((): Promise => {\n return getGrafanaStorage().list('content/' + slug);\n }, [slug]);\n\n const childRoot = slug.length > 0 ? `g/${slug}/` : 'g/';\n const pageNav = getPageNavFromSlug(slug);\n\n const renderListing = () => {\n if (listing.value) {\n const names = listing.value.fields[0].values;\n return names.map((item: string) => {\n let name = item;\n const isFolder = name.indexOf('.') < 0;\n const isDash = !isFolder && name.endsWith('.json');\n const url = `${childRoot}${name}`;\n\n return (\n \n {name}\n \n \n \n \n );\n });\n }\n if (listing.loading) {\n return ;\n }\n return
?
;\n };\n\n const navModel = getRootContentNavModel();\n\n return (\n \n {renderListing()}\n \n );\n}\n\nexport function getPageNavFromSlug(slug: string) {\n const parts = slug.split('/');\n let pageNavs: NavModelItem[] = [];\n let url = 'g';\n let lastPageNav: NavModelItem | undefined;\n\n for (let i = 0; i < parts.length; i++) {\n url += `/${parts[i]}`;\n pageNavs.push({ text: parts[i], url, parentItem: lastPageNav });\n lastPageNav = pageNavs[pageNavs.length - 1];\n }\n\n return lastPageNav;\n}\n\nexport function getRootContentNavModel(): NavModel {\n return { main: { text: 'C:' }, node: { text: 'Content', url: '/g' } };\n}\n\nexport default StorageFolderPage;\n","import React, { useCallback, useState } from 'react';\nimport { useAsync, useDebounce } from 'react-use';\n\nimport { Button, Icon, Input, Modal, useStyles2 } from '@grafana/ui';\n\nimport { getConnectedDashboards } from '../../state/api';\nimport { getModalStyles } from '../../styles';\nimport { PanelModelWithLibraryPanel } from '../../types';\nimport { usePanelSave } from '../../utils/usePanelSave';\n\ninterface Props {\n panel: PanelModelWithLibraryPanel;\n folderUid: string;\n isUnsavedPrompt?: boolean;\n onConfirm: () => void;\n onDismiss: () => void;\n onDiscard: () => void;\n}\n\nexport const SaveLibraryPanelModal = ({\n panel,\n folderUid,\n isUnsavedPrompt,\n onDismiss,\n onConfirm,\n onDiscard,\n}: Props) => {\n const [searchString, setSearchString] = useState('');\n const dashState = useAsync(async () => {\n const searchHits = await getConnectedDashboards(panel.libraryPanel.uid);\n if (searchHits.length > 0) {\n return searchHits.map((dash) => dash.title);\n }\n\n return [];\n }, [panel.libraryPanel.uid]);\n\n const [filteredDashboards, setFilteredDashboards] = useState([]);\n useDebounce(\n () => {\n if (!dashState.value) {\n return setFilteredDashboards([]);\n }\n\n return setFilteredDashboards(\n dashState.value.filter((dashName) => dashName.toLowerCase().includes(searchString.toLowerCase()))\n );\n },\n 300,\n [dashState.value, searchString]\n );\n\n const { saveLibraryPanel } = usePanelSave();\n const styles = useStyles2(getModalStyles);\n const discardAndClose = useCallback(() => {\n onDiscard();\n }, [onDiscard]);\n\n const title = isUnsavedPrompt ? 'Unsaved library panel changes' : 'Save library panel';\n\n return (\n \n
\n

\n {'This update will affect '}\n \n {panel.libraryPanel.meta?.connectedDashboards}{' '}\n {panel.libraryPanel.meta?.connectedDashboards === 1 ? 'dashboard' : 'dashboards'}.\n \n The following dashboards using the panel will be affected:\n

\n }\n placeholder=\"Search affected dashboards\"\n value={searchString}\n onChange={(e) => setSearchString(e.currentTarget.value)}\n />\n {dashState.loading ? (\n

Loading connected dashboards...

\n ) : (\n \n \n \n \n \n \n \n {filteredDashboards.map((dashName, i) => (\n \n \n \n ))}\n \n
Dashboard name
{dashName}
\n )}\n \n \n {isUnsavedPrompt && (\n \n )}\n {\n saveLibraryPanel(panel, folderUid).then(() => {\n onConfirm();\n });\n }}\n >\n Update all\n \n \n
\n
\n );\n};\n","import { pick } from 'lodash';\n\nimport store from 'app/core/store';\nimport { removePanel } from 'app/features/dashboard/utils/panel';\nimport { cleanUpPanelState } from 'app/features/panel/state/actions';\nimport { panelModelAndPluginReady } from 'app/features/panel/state/reducers';\nimport { ThunkResult } from 'app/types';\n\nimport { DashboardModel, PanelModel } from '../../../state';\n\nimport {\n closeEditor,\n PANEL_EDITOR_UI_STATE_STORAGE_KEY,\n PanelEditorUIState,\n setDiscardChanges,\n setPanelEditorUIState,\n updateEditorInitState,\n} from './reducers';\n\nexport function initPanelEditor(sourcePanel: PanelModel, dashboard: DashboardModel): ThunkResult {\n return async (dispatch) => {\n const panel = dashboard.initEditPanel(sourcePanel);\n\n dispatch(\n updateEditorInitState({\n panel,\n sourcePanel,\n })\n );\n };\n}\n\nexport function discardPanelChanges(): ThunkResult {\n return async (dispatch, getStore) => {\n const { getPanel } = getStore().panelEditor;\n getPanel().configRev = 0;\n dispatch(setDiscardChanges(true));\n };\n}\n\nexport function updateDuplicateLibraryPanels(\n modifiedPanel: PanelModel,\n dashboard: DashboardModel | null\n): ThunkResult {\n return (dispatch) => {\n if (modifiedPanel.libraryPanel?.uid === undefined || !dashboard) {\n return;\n }\n\n const modifiedSaveModel = modifiedPanel.getSaveModel();\n for (const panel of dashboard.panels) {\n if (skipPanelUpdate(modifiedPanel, panel)) {\n continue;\n }\n\n panel.restoreModel({\n ...modifiedSaveModel,\n ...pick(panel, 'gridPos', 'id'),\n });\n\n // Loaded plugin is not included in the persisted properties\n // So is not handled by restoreModel\n const pluginChanged = panel.plugin?.meta.id !== modifiedPanel.plugin?.meta.id;\n panel.plugin = modifiedPanel.plugin;\n panel.configRev++;\n\n if (pluginChanged) {\n panel.generateNewKey();\n\n dispatch(panelModelAndPluginReady({ key: panel.key, plugin: panel.plugin! }));\n }\n\n // Resend last query result on source panel query runner\n // But do this after the panel edit editor exit process has completed\n setTimeout(() => {\n panel.getQueryRunner().useLastResultFrom(modifiedPanel.getQueryRunner());\n }, 20);\n }\n\n if (modifiedPanel.repeat) {\n // We skip any repeated library panels so we need to update them by calling processRepeats\n // But do this after the panel edit editor exit process has completed\n setTimeout(() => dashboard.processRepeats(), 20);\n }\n };\n}\n\nexport function skipPanelUpdate(modifiedPanel: PanelModel, panelToUpdate: PanelModel): boolean {\n // don't update library panels that aren't of the same type\n if (panelToUpdate.libraryPanel?.uid !== modifiedPanel.libraryPanel!.uid) {\n return true;\n }\n\n // don't update the modifiedPanel twice\n if (panelToUpdate.id && panelToUpdate.id === modifiedPanel.id) {\n return true;\n }\n\n // don't update library panels that are repeated\n if (panelToUpdate.repeatPanelId) {\n return true;\n }\n\n return false;\n}\n\nexport function exitPanelEditor(): ThunkResult {\n return async (dispatch, getStore) => {\n const dashboard = getStore().dashboard.getModel();\n const { getPanel, getSourcePanel, shouldDiscardChanges } = getStore().panelEditor;\n const panel = getPanel();\n\n if (dashboard) {\n dashboard.exitPanelEditor();\n }\n\n const sourcePanel = getSourcePanel();\n if (hasPanelChangedInPanelEdit(panel) && !shouldDiscardChanges) {\n const modifiedSaveModel = panel.getSaveModel();\n const panelTypeChanged = sourcePanel.type !== panel.type;\n\n dispatch(updateDuplicateLibraryPanels(panel, dashboard));\n\n sourcePanel.restoreModel(modifiedSaveModel);\n sourcePanel.configRev++; // force check the configs\n\n if (panelTypeChanged) {\n // Loaded plugin is not included in the persisted properties so is not handled by restoreModel\n sourcePanel.plugin = panel.plugin;\n sourcePanel.generateNewKey();\n\n await dispatch(panelModelAndPluginReady({ key: sourcePanel.key, plugin: panel.plugin! }));\n }\n\n // Resend last query result on source panel query runner\n // But do this after the panel edit editor exit process has completed\n setTimeout(() => {\n sourcePanel.getQueryRunner().useLastResultFrom(panel.getQueryRunner());\n sourcePanel.render();\n\n // If all changes where saved then reset configRev after applying changes\n if (panel.hasSavedPanelEditChange && !panel.hasChanged) {\n sourcePanel.configRev = 0;\n }\n }, 20);\n }\n\n // A new panel is only new until the first time we exit the panel editor\n if (sourcePanel.isNew) {\n if (!shouldDiscardChanges) {\n delete sourcePanel.isNew;\n } else {\n dashboard && removePanel(dashboard, sourcePanel, true);\n }\n }\n\n dispatch(cleanUpPanelState(panel.key));\n dispatch(closeEditor());\n };\n}\n\nfunction hasPanelChangedInPanelEdit(panel: PanelModel) {\n return panel.hasChanged || panel.hasSavedPanelEditChange || panel.isAngularPlugin();\n}\n\nexport function updatePanelEditorUIState(uiState: Partial): ThunkResult {\n return (dispatch, getStore) => {\n const nextState = { ...getStore().panelEditor.ui, ...uiState };\n dispatch(setPanelEditorUIState(nextState));\n try {\n store.setObject(PANEL_EDITOR_UI_STATE_STORAGE_KEY, nextState);\n } catch (error) {\n console.error(error);\n }\n };\n}\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { Button, Modal } from '@grafana/ui';\n\nimport { DashboardModel } from '../../state';\n\nimport { SaveDashboardButton } from './SaveDashboardButton';\n\ninterface UnsavedChangesModalProps {\n dashboard: DashboardModel;\n onDiscard: () => void;\n onDismiss: () => void;\n onSaveSuccess?: () => void;\n}\n\nexport const UnsavedChangesModal = ({ dashboard, onSaveSuccess, onDiscard, onDismiss }: UnsavedChangesModalProps) => {\n return (\n \n
Do you want to save your changes?
\n \n \n \n \n \n \n );\n};\n","import * as H from 'history';\nimport { each, find } from 'lodash';\nimport React, { useContext, useEffect, useState } from 'react';\nimport { Prompt } from 'react-router-dom';\n\nimport { locationService } from '@grafana/runtime';\nimport { Dashboard } from '@grafana/schema';\nimport { ModalsContext } from '@grafana/ui';\nimport { appEvents } from 'app/core/app_events';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { SaveLibraryPanelModal } from 'app/features/library-panels/components/SaveLibraryPanelModal/SaveLibraryPanelModal';\nimport { PanelModelWithLibraryPanel } from 'app/features/library-panels/types';\nimport { useDispatch } from 'app/types';\nimport { DashboardSavedEvent } from 'app/types/events';\n\nimport { DashboardModel } from '../../state/DashboardModel';\nimport { discardPanelChanges, exitPanelEditor } from '../PanelEditor/state/actions';\nimport { UnsavedChangesModal } from '../SaveDashboard/UnsavedChangesModal';\n\nexport interface Props {\n dashboard: DashboardModel;\n}\n\ninterface State {\n original: object | null;\n originalPath?: string;\n}\n\nexport const DashboardPrompt = React.memo(({ dashboard }: Props) => {\n const [state, setState] = useState({ original: null });\n const dispatch = useDispatch();\n const { original, originalPath } = state;\n const { showModal, hideModal } = useContext(ModalsContext);\n\n useEffect(() => {\n // This timeout delay is to wait for panels to load and migrate scheme before capturing the original state\n // This is to minimize unsaved changes warnings due to automatic schema migrations\n const timeoutId = setTimeout(() => {\n const originalPath = locationService.getLocation().pathname;\n const original = dashboard.getSaveModelClone();\n setState({ originalPath, original });\n }, 1000);\n\n const savedEventUnsub = appEvents.subscribe(DashboardSavedEvent, () => {\n const original = dashboard.getSaveModelClone();\n setState({ originalPath, original });\n });\n\n return () => {\n clearTimeout(timeoutId);\n savedEventUnsub.unsubscribe();\n };\n }, [dashboard, originalPath]);\n\n useEffect(() => {\n const handleUnload = (event: BeforeUnloadEvent) => {\n if (ignoreChanges(dashboard, original)) {\n return;\n }\n if (hasChanges(dashboard, original)) {\n event.preventDefault();\n // No browser actually displays this message anymore.\n // But Chrome requires it to be defined else the popup won't show.\n event.returnValue = '';\n }\n };\n window.addEventListener('beforeunload', handleUnload);\n return () => window.removeEventListener('beforeunload', handleUnload);\n }, [dashboard, original]);\n\n const onHistoryBlock = (location: H.Location) => {\n const panelInEdit = dashboard.panelInEdit;\n const search = new URLSearchParams(location.search);\n\n // Are we leaving panel edit & library panel?\n if (panelInEdit && panelInEdit.libraryPanel && panelInEdit.hasChanged && !search.has('editPanel')) {\n showModal(SaveLibraryPanelModal, {\n isUnsavedPrompt: true,\n panel: dashboard.panelInEdit as PanelModelWithLibraryPanel,\n folderUid: dashboard.meta.folderUid ?? '',\n onConfirm: () => {\n hideModal();\n moveToBlockedLocationAfterReactStateUpdate(location);\n },\n onDiscard: () => {\n dispatch(discardPanelChanges());\n moveToBlockedLocationAfterReactStateUpdate(location);\n hideModal();\n },\n onDismiss: hideModal,\n });\n return false;\n }\n\n // Are we still on the same dashboard?\n if (originalPath === location.pathname || !original) {\n // This is here due to timing reasons we want the exit panel editor state changes to happen before router update\n if (panelInEdit && !search.has('editPanel')) {\n dispatch(exitPanelEditor());\n }\n\n return true;\n }\n\n if (ignoreChanges(dashboard, original)) {\n return true;\n }\n\n if (!hasChanges(dashboard, original)) {\n return true;\n }\n\n showModal(UnsavedChangesModal, {\n dashboard: dashboard,\n onSaveSuccess: () => {\n hideModal();\n moveToBlockedLocationAfterReactStateUpdate(location);\n },\n onDiscard: () => {\n setState({ ...state, original: null });\n hideModal();\n moveToBlockedLocationAfterReactStateUpdate(location);\n },\n onDismiss: hideModal,\n });\n\n return false;\n };\n\n return ;\n});\n\nDashboardPrompt.displayName = 'DashboardPrompt';\n\nfunction moveToBlockedLocationAfterReactStateUpdate(location?: H.Location | null) {\n if (location) {\n setTimeout(() => locationService.push(location), 10);\n }\n}\n\n/**\n * For some dashboards and users changes should be ignored *\n */\nexport function ignoreChanges(current: DashboardModel | null, original: object | null) {\n if (!original) {\n return true;\n }\n\n // Ignore changes if the user has been signed out\n if (!contextSrv.isSignedIn) {\n return true;\n }\n\n if (!current) {\n return true;\n }\n\n const { canSave, fromScript, fromFile } = current.meta;\n if (!contextSrv.isEditor && !canSave) {\n return true;\n }\n\n return !canSave || fromScript || fromFile;\n}\n\n/**\n * Remove stuff that should not count in diff\n */\nfunction cleanDashboardFromIgnoredChanges(dashData: Dashboard) {\n // need to new up the domain model class to get access to expand / collapse row logic\n const model = new DashboardModel(dashData);\n\n // Expand all rows before making comparison. This is required because row expand / collapse\n // change order of panel array and panel positions.\n model.expandRows();\n\n const dash = model.getSaveModelClone();\n\n // ignore time and refresh\n dash.time = 0;\n dash.refresh = '';\n dash.schemaVersion = 0;\n dash.timezone = 0;\n\n dash.panels = [];\n\n // ignore template variable values\n each(dash.getVariables(), (variable: any) => {\n variable.current = null;\n variable.options = null;\n variable.filters = null;\n });\n\n return dash;\n}\n\n// TODO: Adapt original to be Dashboard type instead\nexport function hasChanges(current: DashboardModel, original: unknown) {\n if (current.hasUnsavedChanges()) {\n return true;\n }\n // TODO: Make getSaveModelClone return Dashboard type instead\n const currentClean = cleanDashboardFromIgnoredChanges(current.getSaveModelClone() as unknown as Dashboard);\n const originalClean = cleanDashboardFromIgnoredChanges(original as Dashboard);\n\n const currentTimepicker = find((currentClean as any).nav, { type: 'timepicker' });\n const originalTimepicker = find((originalClean as any).nav, { type: 'timepicker' });\n\n if (currentTimepicker && originalTimepicker) {\n currentTimepicker.now = originalTimepicker.now;\n }\n\n const currentJson = JSON.stringify(currentClean, null);\n const originalJson = JSON.stringify(originalClean, null);\n\n return currentJson !== originalJson;\n}\n","import saveAs from 'file-saver';\n\nimport { dateTimeFormat, formattedValueToString, getValueFormat, SelectableValue } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { SceneObject } from '@grafana/scenes';\nimport { StateManagerBase } from 'app/core/services/StateManagerBase';\nimport { createDashboardSceneFromDashboardModel } from 'app/features/scenes/dashboard/DashboardsLoader';\n\nimport { getTimeSrv } from '../../services/TimeSrv';\nimport { DashboardModel, PanelModel } from '../../state';\nimport { setDashboardToFetchFromLocalStorage } from '../../state/initDashboard';\n\nimport { Randomize } from './randomizer';\nimport { getDebugDashboard, getGithubMarkdown } from './utils';\n\ninterface SupportSnapshotState {\n currentTab: SnapshotTab;\n showMessage: ShowMessage;\n options: Array>;\n snapshotText: string;\n markdownText: string;\n snapshotSize?: string;\n randomize: Randomize;\n loading?: boolean;\n error?: {\n title: string;\n message: string;\n };\n panel: PanelModel;\n panelTitle: string;\n\n // eslint-disable-next-line\n snapshot?: any;\n snapshotUpdate: number;\n scene?: SceneObject;\n}\n\nexport enum SnapshotTab {\n Support,\n Data,\n}\n\nexport enum ShowMessage {\n PanelSnapshot,\n GithubComment,\n}\n\nexport class SupportSnapshotService extends StateManagerBase {\n constructor(panel: PanelModel) {\n super({\n panel,\n panelTitle: panel.replaceVariables(panel.title, undefined, 'text') || 'Panel',\n currentTab: SnapshotTab.Support,\n showMessage: ShowMessage.GithubComment,\n snapshotText: '',\n markdownText: '',\n randomize: {},\n snapshotUpdate: 0,\n options: [\n {\n label: 'GitHub comment',\n description: 'Copy and paste this message into a GitHub issue or comment',\n value: ShowMessage.GithubComment,\n },\n {\n label: 'Panel support snapshot',\n description: 'Dashboard JSON used to help troubleshoot visualization issues',\n value: ShowMessage.PanelSnapshot,\n },\n ],\n });\n }\n\n async buildDebugDashboard() {\n const { panel, randomize, snapshotUpdate } = this.state;\n const snapshot = await getDebugDashboard(panel, randomize, getTimeSrv().timeRange());\n const snapshotText = JSON.stringify(snapshot, null, 2);\n const markdownText = getGithubMarkdown(panel, snapshotText);\n const snapshotSize = formattedValueToString(getValueFormat('bytes')(snapshotText?.length ?? 0));\n\n let scene: SceneObject | undefined = undefined;\n\n if (!panel.isAngularPlugin()) {\n try {\n const oldModel = new DashboardModel(snapshot);\n const dash = createDashboardSceneFromDashboardModel(oldModel);\n scene = dash.state.body; // skip the wrappers\n } catch (ex) {\n console.log('Error creating scene:', ex);\n }\n }\n\n this.setState({ snapshot, snapshotText, markdownText, snapshotSize, snapshotUpdate: snapshotUpdate + 1, scene });\n }\n\n onCurrentTabChange = (value: SnapshotTab) => {\n this.setState({ currentTab: value });\n };\n\n onShowMessageChange = (value: SelectableValue) => {\n this.setState({ showMessage: value.value! });\n };\n\n onGetMarkdownForClipboard = () => {\n const { markdownText } = this.state;\n const maxLen = Math.pow(1024, 2) * 1.5; // 1.5MB\n\n if (markdownText.length > maxLen) {\n this.setState({\n error: {\n title: 'Copy to clipboard failed',\n message: 'Snapshot is too large, consider download and attaching a file instead',\n },\n });\n\n return '';\n }\n\n return markdownText;\n };\n\n onDownloadDashboard = () => {\n const { snapshotText, panelTitle } = this.state;\n const blob = new Blob([snapshotText], {\n type: 'text/plain',\n });\n const fileName = `debug-${panelTitle}-${dateTimeFormat(new Date())}.json.txt`;\n saveAs(blob, fileName);\n };\n\n onSetSnapshotText = (snapshotText: string) => {\n this.setState({ snapshotText });\n };\n\n onToggleRandomize = (k: keyof Randomize) => {\n const { randomize } = this.state;\n this.setState({ randomize: { ...randomize, [k]: !randomize[k] } });\n };\n\n onPreviewDashboard = () => {\n const { snapshot } = this.state;\n if (snapshot) {\n setDashboardToFetchFromLocalStorage({ meta: {}, dashboard: snapshot });\n global.open(config.appUrl + 'dashboard/new', '_blank');\n }\n };\n}\n","import { css } from '@emotion/css';\nimport React, { useMemo, useEffect } from 'react';\nimport AutoSizer from 'react-virtualized-auto-sizer';\n\nimport { PanelPlugin, GrafanaTheme2, FeatureState } from '@grafana/data';\nimport { Stack } from '@grafana/experimental';\nimport { config } from '@grafana/runtime';\nimport {\n Drawer,\n Tab,\n TabsBar,\n CodeEditor,\n useStyles2,\n Field,\n HorizontalGroup,\n InlineSwitch,\n Button,\n Spinner,\n Alert,\n FeatureBadge,\n Select,\n ClipboardButton,\n Icon,\n} from '@grafana/ui';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { PanelModel } from 'app/features/dashboard/state';\nimport { AccessControlAction } from 'app/types';\n\nimport { ShowMessage, SnapshotTab, SupportSnapshotService } from './SupportSnapshotService';\n\ninterface Props {\n panel: PanelModel;\n plugin?: PanelPlugin | null;\n onClose: () => void;\n}\n\nexport function HelpWizard({ panel, plugin, onClose }: Props) {\n const styles = useStyles2(getStyles);\n const service = useMemo(() => new SupportSnapshotService(panel), [panel]);\n\n const {\n currentTab,\n loading,\n error,\n options,\n showMessage,\n snapshotSize,\n markdownText,\n snapshotText,\n randomize,\n panelTitle,\n scene,\n } = service.useState();\n\n useEffect(() => {\n service.buildDebugDashboard();\n }, [service, plugin, randomize]);\n\n if (!plugin) {\n return null;\n }\n\n const tabs = [\n { label: 'Snapshot', value: SnapshotTab.Support },\n { label: 'Data', value: SnapshotTab.Data },\n ];\n\n const hasSupportBundleAccess =\n config.supportBundlesEnabled &&\n contextSrv.hasAccess(AccessControlAction.ActionSupportBundlesCreate, contextSrv.isGrafanaAdmin);\n\n return (\n \n \n \n \n Troubleshooting docs \n \n \n \n To request troubleshooting help, send a snapshot of this panel to Grafana Labs Technical Support. The\n snapshot contains query response data and panel settings.\n \n {hasSupportBundleAccess && (\n \n You can also retrieve a support bundle containing information concerning your Grafana instance and\n configured datasources in the support bundles section.\n \n )}\n \n }\n tabs={\n \n {tabs.map((t, index) => (\n service.onCurrentTabChange(t.value!)}\n />\n ))}\n \n }\n >\n {loading && }\n {error && {error.message}}\n\n {currentTab === SnapshotTab.Data && (\n
\n
\n \n