{"version":3,"file":"index.cjs","sources":["../../src/index.ts"],"sourcesContent":["/**\n * A library containing the different design components of the Grafana ecosystem.\n *\n * @packageDocumentation\n */\n\nimport { FormField } from './components/FormField/FormField';\nimport { Input, LegacyInputStatus } from './components/Forms/Legacy/Input/Input';\nimport { IndicatorsContainer } from './components/Forms/Legacy/Select/IndicatorsContainer';\nimport { NoOptionsMessage } from './components/Forms/Legacy/Select/NoOptionsMessage';\nimport { AsyncSelect, Select } from './components/Forms/Legacy/Select/Select';\nimport { Switch } from './components/Forms/Legacy/Switch/Switch';\nimport { SecretFormField } from './components/SecretFormField/SecretFormField';\nimport * as commonOptionsBuilder from './options/builder';\nimport * as styleMixins from './themes/mixins';\nimport * as DOMUtil from './utils/dom';\nimport * as floatingUtils from './utils/floating';\nimport * as ReactUtils from './utils/reactUtils';\n\nexport { Icon } from './components/Icon/Icon';\nexport { IconButton, type IconButtonVariant } from './components/IconButton/IconButton';\nexport { ConfirmButton } from './components/ConfirmButton/ConfirmButton';\nexport { DeleteButton } from './components/ConfirmButton/DeleteButton';\nexport { Tooltip } from './components/Tooltip/Tooltip';\nexport type { PopoverContent } from './components/Tooltip/types';\nexport { PopoverController } from './components/Tooltip/PopoverController';\nexport { Popover } from './components/Tooltip/Popover';\nexport { Toggletip } from './components/Toggletip/Toggletip';\nexport { Portal, getPortalContainer, PortalContainer } from './components/Portal/Portal';\nexport { CustomScrollbar, type ScrollbarPosition } from './components/CustomScrollbar/CustomScrollbar';\nexport { TabbedContainer, type TabConfig } from './components/TabbedContainer/TabbedContainer';\nexport { ClipboardButton } from './components/ClipboardButton/ClipboardButton';\nexport { Cascader, type CascaderOption } from './components/Cascader/Cascader';\nexport { Carousel } from './components/Carousel/Carousel';\nexport { ButtonCascader } from './components/ButtonCascader/ButtonCascader';\nexport { InlineToast } from './components/InlineToast/InlineToast';\nexport { LoadingPlaceholder, type LoadingPlaceholderProps } from './components/LoadingPlaceholder/LoadingPlaceholder';\nexport { LoadingBar, type LoadingBarProps } from './components/LoadingBar/LoadingBar';\nexport { PageLoader } from './components/PageLoader/PageLoader';\nexport { ColorPicker, SeriesColorPicker } from './components/ColorPicker/ColorPicker';\nexport { ColorPickerInput } from './components/ColorPicker/ColorPickerInput';\nexport {\n  SeriesColorPickerPopover,\n  SeriesColorPickerPopoverWithTheme,\n} from './components/ColorPicker/SeriesColorPickerPopover';\nexport { EmptySearchResult } from './components/EmptySearchResult/EmptySearchResult';\nexport { EmptyState } from './components/EmptyState/EmptyState';\nexport { UnitPicker } from './components/UnitPicker/UnitPicker';\nexport { StatsPicker, type StatsPickerProps } from './components/StatsPicker/StatsPicker';\nexport { RefreshPicker, defaultIntervals } from './components/RefreshPicker/RefreshPicker';\nexport { TimeRangePicker, type TimeRangePickerProps } from './components/DateTimePickers/TimeRangePicker';\n// TODO: Remove TimeRangeProvider export in next major.\n/** @deprecated See `TimeRangeProvider` — removal planned for the next major version of `@grafana/ui`. */\nexport { TimeRangeProvider } from './graveyard/TimeRangeContext/TimeRangeContext';\nexport { TimePickerTooltip } from './components/DateTimePickers/TimeRangePicker';\nexport { TimeRangeLabel } from './components/DateTimePickers/TimeRangePicker/TimeRangeLabel';\nexport { TimeOfDayPicker } from './components/DateTimePickers/TimeOfDayPicker';\nexport { TimeZonePicker } from './components/DateTimePickers/TimeZonePicker';\nexport {\n  WeekStartPicker,\n  getWeekStart,\n  type WeekStart,\n  isWeekStart,\n} from './components/DateTimePickers/WeekStartPicker';\nexport { DatePicker, type DatePickerProps } from './components/DateTimePickers/DatePicker/DatePicker';\nexport {\n  DatePickerWithInput,\n  type DatePickerWithInputProps,\n} from './components/DateTimePickers/DatePickerWithInput/DatePickerWithInput';\nexport { DateTimePicker } from './components/DateTimePickers/DateTimePicker/DateTimePicker';\nexport { List } from './components/List/List';\nexport { InteractiveTable } from './components/InteractiveTable/InteractiveTableLazy';\nexport type { FetchDataArgs, FetchDataFunc } from './components/InteractiveTable/InteractiveTable';\nexport { TagsInput } from './components/TagsInput/TagsInput';\nexport { AutoSaveField } from './components/AutoSaveField/AutoSaveField';\nexport { Pagination } from './components/Pagination/Pagination';\nexport { Tag, type OnTagClick } from './components/Tags/Tag';\nexport { TagList } from './components/Tags/TagList';\nexport { FilterPill } from './components/FilterPill/FilterPill';\n\nexport { ConfirmModal, type ConfirmModalProps } from './components/ConfirmModal/ConfirmModal';\n/** @deprecated Slate is being removed from `@grafana/ui`. Migrate to `QueryInput`; this export may be removed in a future release. */\nexport { QueryField, type QueryFieldProps } from './components/QueryField/QueryField';\nexport { QueryInput, type QueryInputProps } from './components/QueryInput/QueryInput';\nexport { CodeEditor } from './components/Monaco/CodeEditor';\nexport { ReactMonacoEditorLazy as ReactMonacoEditor } from './components/Monaco/ReactMonacoEditorLazy';\nexport { ReactMonacoDiffEditorLazy as ReactMonacoDiffEditor } from './components/Monaco/ReactMonacoDiffEditorLazy';\nexport {\n  type Monaco,\n  type monacoTypes,\n  type MonacoEditor,\n  type MonacoOptions as CodeEditorMonacoOptions,\n  type CodeEditorSuggestionItem,\n  type ReactMonacoDiffEditorProps,\n  CodeEditorSuggestionItemKind,\n} from './components/Monaco/types';\nexport { variableSuggestionToCodeEditorSuggestion } from './components/Monaco/utils';\n\n// TODO: namespace\nexport { Modal, type Props as ModalProps } from './components/Modal/Modal';\nexport { ModalHeader } from './components/Modal/ModalHeader';\nexport { ModalTabsHeader } from './components/Modal/ModalTabsHeader';\nexport { ModalTabContent } from './components/Modal/ModalTabContent';\nexport { ModalsProvider, ModalRoot, ModalsController, ModalsContext } from './components/Modal/ModalsContext';\nexport { PageToolbar } from './components/PageLayout/PageToolbar';\n\n// Renderless\nexport { SetInterval } from './components/SetInterval/SetInterval';\nexport { Table } from './components/Table/Table';\nexport { TableCellInspector, TableCellInspectorMode } from './components/Table/TableCellInspector';\nexport {\n  type TableCustomCellOptions,\n  type CustomCellRendererProps,\n  type TableFieldOptions,\n  type TableSortByFieldState,\n  type TableFooterCalc,\n  type AdHocFilterItem,\n  type TableAutoCellOptions,\n  type TableSparklineCellOptions,\n  type TableBarGaugeCellOptions,\n  type TableColoredBackgroundCellOptions,\n  type TableColorTextCellOptions,\n  type TableImageCellOptions,\n  type TableJsonViewCellOptions,\n} from './components/Table/types';\n\nexport { TableInputCSV } from './graveyard/TableInputCSV/TableInputCSV';\nexport { TabsBar } from './components/Tabs/TabsBar';\nexport { Tab, type TabProps } from './components/Tabs/Tab';\nexport { VerticalTab } from './components/Tabs/VerticalTab';\nexport { TabContent } from './components/Tabs/TabContent';\nexport { Counter } from './components/Tabs/Counter';\nexport { RenderUserContentAsHTML } from './components/RenderUserContentAsHTML/RenderUserContentAsHTML';\n\n// Visualizations\nexport { BigValue } from './components/BigValue/BigValue';\nexport {\n  BigValueColorMode,\n  BigValueGraphMode,\n  BigValueJustifyMode,\n  BigValueTextMode,\n} from './components/BigValue/BigValueTypes';\nexport { Sparkline, type SparklineHoverEvent } from './components/Sparkline/Sparkline';\n\nexport { BarGauge } from './components/BarGauge/BarGauge';\nexport {\n  VizTooltip,\n  VizTooltipContainer,\n  VizTooltipContent,\n  VizTooltipRow,\n  VizTooltipWrapper,\n  type VizTooltipWrapperProps,\n  VizTooltipFooter,\n  type VizTooltipFooterProps,\n  type AdHocFilterModel,\n  type FilterByGroupedLabelsModel,\n  VizTooltipHeader,\n  type VizTooltipHeaderProps,\n  VizTooltipColorIndicator,\n  VizTooltipColorPlacement,\n  type VizTooltipItem,\n  DEFAULT_VIZ_TOOLTIP_COLOR_INDICATOR,\n  getFieldDisplayItems,\n  getFieldDisplayLinks,\n  isTooltipScrollable,\n  type TooltipScrollableOptions,\n  SeriesTable,\n  type SeriesTableProps,\n  SeriesTableRow,\n  type SeriesTableRowProps,\n} from './components/VizTooltip';\nexport { VizRepeater, type VizRepeaterRenderValueProps } from './components/VizRepeater/VizRepeater';\nexport {\n  PanelChrome,\n  type PanelChromeProps,\n  type PanelPadding,\n  type PanelChromeType,\n  PanelChromeLoadingIndicator,\n  type PanelChromeLoadingIndicatorProps,\n  PanelContextProvider,\n  type PanelContext,\n  type PanelRuntimeTransformations,\n  type AdHocTransformationsState,\n  PanelContextRoot,\n  usePanelContext,\n  useAdHocTransformations,\n} from './components/PanelChrome';\nexport {\n  VizLayout,\n  type VizLayoutComponentType,\n  type VizLayoutLegendProps,\n  type VizLayoutProps,\n} from './components/VizLayout/VizLayout';\nexport { type VizLegendItem, SeriesVisibilityChangeBehavior } from './components/VizLegend/types';\nexport { VizLegend } from './components/VizLegend/VizLegend';\nexport { VizLegendListItem } from './components/VizLegend/VizLegendListItem';\n\nexport { Alert, type AlertVariant } from './components/Alert/Alert';\nexport { Collapse, ControlledCollapse } from './components/Collapse/Collapse';\nexport { CollapsableSection } from './components/Collapse/CollapsableSection';\nexport { DataLinkButton } from './components/DataLinks/DataLinkButton';\nexport { FieldLinkList } from './components/DataLinks/FieldLinkList';\n// Panel editors\nexport { FullWidthButtonContainer } from './components/Button/FullWidthButtonContainer';\nexport { ClickOutsideWrapper } from './components/ClickOutsideWrapper/ClickOutsideWrapper';\nexport {\n  type SingleStatBaseOptions,\n  sharedSingleStatMigrationHandler,\n  convertOldAngularValueMapping,\n  sharedSingleStatPanelChangedHandler,\n} from './components/SingleStatShared/SingleStatBaseOptions';\nexport { CallToActionCard } from './components/CallToActionCard/CallToActionCard';\nexport { ContextMenu, type ContextMenuProps } from './components/ContextMenu/ContextMenu';\nexport { Menu, type MenuProps } from './components/Menu/Menu';\nexport { MenuGroup, type MenuItemsGroup, type MenuGroupProps } from './components/Menu/MenuGroup';\nexport { MenuItem, type MenuItemProps } from './components/Menu/MenuItem';\nexport { WithContextMenu } from './components/ContextMenu/WithContextMenu';\nexport { DataLinksInlineEditor } from './components/DataLinks/DataLinksInlineEditor/DataLinksInlineEditor';\nexport {\n  DataLinksInlineEditorBase,\n  type DataLinksInlineEditorBaseProps,\n} from './components/DataLinks/DataLinksInlineEditor/DataLinksInlineEditorBase';\nexport { DataLinkInput } from './components/DataLinks/DataLinkInput';\nexport {\n  DataLinksContextMenu,\n  type DataLinksContextMenuProps,\n  type DataLinksContextMenuApi,\n  type DataLinksMenuTriggerProps,\n} from './components/DataLinks/DataLinksContextMenu';\nexport { SeriesIcon } from './components/VizLegend/SeriesIcon';\nexport { InfoBox } from './components/InfoBox/InfoBox';\nexport { FeatureInfoBox } from './components/InfoBox/FeatureInfoBox';\nexport { FeatureBadge } from './components/FeatureBadge/FeatureBadge';\n\nexport { JSONFormatter } from './components/JSONFormatter/JSONFormatter';\nexport { JsonExplorer } from './components/JSONFormatter/json_explorer/json_explorer';\nexport {\n  ErrorBoundary,\n  ErrorBoundaryAlert,\n  type ErrorBoundaryAlertProps,\n  withErrorBoundary,\n} from './components/ErrorBoundary/ErrorBoundary';\nexport { ErrorWithStack } from './components/ErrorBoundary/ErrorWithStack';\nexport { DataSourceHttpSettings } from './components/DataSourceSettings/DataSourceHttpSettings';\nexport { CustomHeadersSettings } from './components/DataSourceSettings/CustomHeadersSettings';\nexport { AlertingSettings } from './components/DataSourceSettings/AlertingSettings';\nexport { SecureSocksProxySettings } from './components/DataSourceSettings/SecureSocksProxySettings';\nexport { TLSAuthSettings } from './components/DataSourceSettings/TLSAuthSettings';\nexport { CertificationKey } from './components/DataSourceSettings/CertificationKey';\nexport { Spinner } from './components/Spinner/Spinner';\nexport { FadeTransition } from './components/transitions/FadeTransition';\nexport { SlideOutTransition } from './components/transitions/SlideOutTransition';\nexport { Segment } from './components/Segment/Segment';\nexport { SegmentAsync } from './components/Segment/SegmentAsync';\nexport { SegmentInput } from './components/Segment/SegmentInput';\nexport { SegmentSelect } from './components/Segment/SegmentSelect';\nexport { SegmentSection } from './components/Segment/SegmentSection';\nexport { Drawer } from './components/Drawer/Drawer';\nexport { Slider } from './components/Slider/Slider';\nexport { RangeSlider } from './components/Slider/RangeSlider';\n\n// Next-gen forms\nexport { Form } from './components/Forms/Form';\nexport { sharedInputStyle } from './components/Forms/commonStyles';\nexport { InputControl } from './components/InputControl';\nexport {\n  Button,\n  LinkButton,\n  type ButtonVariant,\n  type ButtonProps,\n  clearButtonStyles,\n} from './components/Button/Button';\nexport { ButtonGroup } from './components/Button/ButtonGroup';\nexport { ToolbarButton } from './components/ToolbarButton/ToolbarButton';\nexport { ToolbarButtonRow } from './components/ToolbarButton/ToolbarButtonRow';\nexport { ValuePicker } from './components/ValuePicker/ValuePicker';\nexport { fieldMatchersUI, useFieldMatchersOptions } from './components/MatchersUI/fieldMatchersUI';\nexport {\n  MatcherScopeSelector,\n  getUniqueMatcherScopes,\n  buildScopeOptions,\n} from './components/MatchersUI/MatcherScopeSelector';\nexport { Link } from './components/Link/Link';\nexport { TextLink } from './components/Link/TextLink';\nexport { Text } from './components/Text/Text';\nexport { Box } from './components/Layout/Box/Box';\nexport { Stack } from './components/Layout/Stack/Stack';\nexport { Grid } from './components/Layout/Grid/Grid';\nexport { Space } from './components/Layout/Space';\nexport { ScrollContainer } from './components/ScrollContainer/ScrollContainer';\n\nexport { Label } from './components/Forms/Label';\nexport { Field, type FieldProps } from './components/Forms/Field';\nexport { FieldContext, useFieldContext, type FieldContextType } from './components/Forms/FieldContext';\nexport { Legend } from './components/Forms/Legend';\nexport { FieldSet } from './components/Forms/FieldSet';\nexport { FieldValidationMessage } from './components/Forms/FieldValidationMessage';\nexport { InlineField } from './components/Forms/InlineField';\nexport { InlineSegmentGroup } from './components/Forms/InlineSegmentGroup';\nexport { InlineLabel } from './components/Forms/InlineLabel';\nexport { InlineFieldRow } from './components/Forms/InlineFieldRow';\nexport { FieldArray } from './components/Forms/FieldArray';\n\n// Select\n// Note - Select is nearly deprecated in favor of Combobox\nexport { default as resetSelectStyles } from './components/Select/resetSelectStyles';\nexport * from './components/Select/Select';\nexport { SelectMenuOptions } from './components/Select/SelectMenu';\nexport { getSelectStyles } from './components/Select/getSelectStyles';\nexport * from './components/Select/types';\n\nexport { Combobox } from './components/Combobox/Combobox';\nexport { MultiCombobox } from './components/Combobox/MultiCombobox';\nexport { type ComboboxOption } from './components/Combobox/types';\n\nexport { HorizontalGroup, VerticalGroup, Container } from './components/Layout/Layout';\nexport { Badge, type BadgeColor, type BadgeProps } from './components/Badge/Badge';\nexport { RadioButtonGroup } from './components/Forms/RadioButtonGroup/RadioButtonGroup';\nexport { RadioButtonDot } from './components/Forms/RadioButtonList/RadioButtonDot';\nexport { RadioButtonList } from './components/Forms/RadioButtonList/RadioButtonList';\n\nexport { Input, getInputStyles } from './components/Input/Input';\nexport { AutoSizeInput } from './components/Input/AutoSizeInput';\nexport { FilterInput } from './components/FilterInput/FilterInput';\nexport type { FormInputSize } from './components/Forms/types';\nexport * from './components/SecretInput';\nexport * from './components/SecretTextArea';\n\nexport { Switch, InlineSwitch } from './components/Switch/Switch';\nexport { Checkbox } from './components/Forms/Checkbox';\n\nexport { TextArea } from './components/TextArea/TextArea';\nexport { FileUpload } from './components/FileUpload/FileUpload';\nexport {\n  FileDropzone,\n  FileDropzoneDefaultChildren,\n  type FileDropzoneProps,\n  type DropzoneFile,\n} from './components/FileDropzone/FileDropzone';\nexport { FileListItem, type FileListItemProps } from './components/FileDropzone/FileListItem';\nexport { TimeRangeInput } from './components/DateTimePickers/TimeRangeInput';\nexport { RelativeTimeRangePicker } from './components/DateTimePickers/RelativeTimeRangePicker/RelativeTimeRangePicker';\nexport { Card, type Props as CardProps, getCardStyles } from './components/Card/Card';\nexport { CardContainer, type CardContainerProps } from './components/Card/CardContainer';\nexport { FormattedValueDisplay } from './components/FormattedValueDisplay/FormattedValueDisplay';\nexport { ButtonSelect } from './components/Dropdown/ButtonSelect';\nexport { Dropdown } from './components/Dropdown/Dropdown';\nexport {\n  PluginSignatureBadge,\n  type PluginSignatureBadgeProps,\n} from './components/PluginSignatureBadge/PluginSignatureBadge';\nexport { UserIcon, type UserIconProps } from './components/UsersIndicator/UserIcon';\nexport { UsersIndicator, type UsersIndicatorProps } from './components/UsersIndicator/UsersIndicator';\nexport { type UserView } from './components/UsersIndicator/types';\nexport { Avatar } from './components/UsersIndicator/Avatar';\n// Export this until we've figured out a good approach to inline form styles.\nexport { InlineFormLabel } from './components/FormLabel/FormLabel';\nexport { Divider } from './components/Divider/Divider';\nexport { getDragStyles, type DragHandlePosition } from './components/DragHandle/DragHandle';\nexport { useSplitter } from './components/Splitter/useSplitter';\n\n/** @deprecated Please use non-legacy versions of these components */\nconst LegacyForms = {\n  SecretFormField,\n  FormField,\n  Select,\n  AsyncSelect,\n  IndicatorsContainer,\n  NoOptionsMessage,\n  Input,\n  Switch,\n};\nexport { LegacyForms, LegacyInputStatus };\n\n// WIP, need renames and exports cleanup\nexport { graphFieldOptions, getGraphFieldOptions } from './components/uPlot/config';\nexport { UPlotConfigBuilder } from './components/uPlot/config/UPlotConfigBuilder';\nexport { UPLOT_AXIS_FONT_SIZE } from './components/uPlot/config/UPlotAxisBuilder';\nexport { UPlotChart } from './components/uPlot/Plot';\nexport { PlotLegend } from './components/uPlot/PlotLegend';\nexport { XYCanvas } from './components/uPlot/geometries/XYCanvas';\nexport { Marker } from './components/uPlot/geometries/Marker';\nexport { EventsCanvas } from './components/uPlot/geometries/EventsCanvas';\nexport { TooltipPlugin2 } from './components/uPlot/plugins/TooltipPlugin2';\nexport { CloseButton } from './components/uPlot/plugins/CloseButton';\nexport { EventBusPlugin } from './components/uPlot/plugins/EventBusPlugin';\nexport { KeyboardPlugin } from './components/uPlot/plugins/KeyboardPlugin';\nexport { XAxisInteractionAreaPlugin } from './components/uPlot/plugins/XAxisInteractionAreaPlugin';\n\nexport { type PlotTooltipInterpolator, type PlotSelection, FIXED_UNIT } from './components/uPlot/types';\nexport { type UPlotConfigPrepFn } from './components/uPlot/config/UPlotConfigBuilder';\nexport * from './components/PanelChrome/types';\nexport { Label as BrowserLabel } from './components/BrowserLabel/Label';\nexport { PanelContainer } from './components/PanelContainer/PanelContainer';\nexport { VariablesInputModal } from './components/Actions/VariablesInputModal';\n\n// -----------------------------------------------------\n// Graveyard: exported, but no longer used internally\n// These will be removed in the future\n// -----------------------------------------------------\n\nexport { GraphNG, type GraphNGProps } from './graveyard/GraphNG/GraphNG';\nexport { TimeSeries } from './graveyard/TimeSeries/TimeSeries';\nexport { useGraphNGContext } from './graveyard/GraphNG/hooks';\nexport { preparePlotFrame, buildScaleKey } from './graveyard/GraphNG/utils';\nexport { type GraphNGLegendEvent } from './graveyard/GraphNG/types';\n\nexport { ZoomPlugin } from './graveyard/uPlot/plugins/ZoomPlugin';\nexport { TooltipPlugin } from './graveyard/uPlot/plugins/TooltipPlugin';\n\nexport {\n  ElementSelectionContext,\n  useElementSelection,\n  type ElementSelectionContextState,\n  type ElementSelectionContextItem,\n  type ElementSelectionOnSelectOptions,\n  type UseElementSelectionResult,\n} from './components/ElementSelectionContext/ElementSelectionContext';\n\nexport type { Themeable, Themeable2 } from './types/theme';\nexport type { ValidationRule, ValidationEvents } from './types/input';\nexport type { SearchFunction, CompletionItemGroup, HighlightPart, CompletionItem } from './types/completion';\n/** @deprecated Slate typeahead types are being removed from `@grafana/ui`. Migrate to CodeMirror; these may be removed in a future release. */\nexport type { TypeaheadOutput, TypeaheadInput, SuggestionsState } from './types/completion';\nexport { CompletionItemKind } from './types/completion';\nexport type { FormsOnSubmit, FormFieldErrors, FormAPI, FieldArrayApi } from './types/forms';\nexport type { IconName, IconType, IconSize } from './types/icon';\nexport { toIconName, isIconSize, getAvailableIcons, getFieldTypeIcon, getFieldTypeIconName } from './types/icon';\nexport type { ActionMeta } from './types/select';\nexport type { ComponentSize } from './types/size';\nexport type { Column } from './types/interactiveTable';\nexport type { CellProps, SortByFn } from 'react-table';\n\nexport {\n  DEFAULT_ANNOTATION_COLOR,\n  OK_COLOR,\n  ALERTING_COLOR,\n  NO_DATA_COLOR,\n  PENDING_COLOR,\n  REGION_FILL_ALPHA,\n  colors,\n  getTextColorForBackground,\n  getTextColorForAlphaBackground,\n  sortedColors,\n} from './utils/colors';\nexport { EventsWithValidation, validate, hasValidationEvent, regexValidation } from './utils/validate';\n/** @deprecated Slate is being removed from `@grafana/ui`. Migrate to CodeMirror; these exports may be removed in a future release. */\nexport { SCHEMA, makeFragment, makeValue } from './utils/slate';\nexport { linkModelToContextMenuItems } from './utils/dataLinks';\nexport { getTagColorIndexFromName, getTagColorsFromName, getTagColor } from './utils/tags';\nexport { getScrollbarWidth } from './utils/scrollbar';\nexport { getCellLinks } from './utils/table';\nexport { getCanvasContext, measureText, calculateFontSize } from './utils/measureText';\nexport { createPointerDistance, usePointerDistance } from './utils/usePointerDistance';\nexport { useForceUpdate } from './utils/useForceUpdate';\nexport { SearchFunctionType } from './utils/searchFunctions';\nexport { createLogger } from './utils/logger';\nexport { attachDebugger } from './utils/debug';\nexport { NodeGraphDataFrameFieldNames } from './utils/nodeGraph';\nexport { fuzzyMatch } from './utils/fuzzy';\nexport { logOptions } from './utils/logOptions';\nexport { copyTextToClipboard } from './utils/copyToClipboard';\n\nexport { DOMUtil, ReactUtils, floatingUtils };\n\nexport { ThemeContext } from '@grafana/data';\nexport {\n  withTheme,\n  withTheme2,\n  useTheme,\n  useTheme2,\n  useStyles,\n  useStyles2,\n  mockThemeContext,\n} from './themes/ThemeContext';\nexport { getTheme, mockTheme } from './themes/getTheme';\nexport { stylesFactory } from './themes/stylesFactory';\nexport { GlobalStyles } from './themes/GlobalStyles/GlobalStyles';\n\nexport { styleMixins, commonOptionsBuilder };\n\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { BracesPlugin } from './slate-plugins/braces';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { ClearPlugin } from './slate-plugins/clear';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { ClipboardPlugin } from './slate-plugins/clipboard';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { IndentationPlugin } from './slate-plugins/indentation';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { NewlinePlugin } from './slate-plugins/newline';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { RunnerPlugin } from './slate-plugins/runner';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { SelectionShortcutsPlugin } from './slate-plugins/selection_shortcuts';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { SlatePrism, type Token } from './slate-plugins/slate-prism';\n/** @deprecated Slate plugin; being removed from `@grafana/ui`. Migrate to CodeMirror. */\nexport { SuggestionsPlugin } from './slate-plugins/suggestions';\nexport {\n  Sidebar,\n  useSidebar,\n  type SidebarPosition,\n  type SidebarContextValue,\n  useSidebarContext,\n} from './components/Sidebar/Sidebar';\n\n// @deprecated import from @grafana/schema\nexport {\n  // Styles that changed\n  GraphDrawStyle as DrawStyle,\n  // All exports\n  AxisPlacement,\n  VisibilityMode as PointVisibility,\n  LineInterpolation,\n  ScaleDistribution,\n  GraphGradientMode,\n  BarGaugeDisplayMode,\n  type LineStyle,\n  type PointsConfig,\n  type ScaleDistributionConfig,\n  type HideSeriesConfig,\n  BarAlignment,\n  VisibilityMode as BarValueVisibility,\n  ScaleOrientation,\n  ScaleDirection,\n  type LineConfig,\n  type BarConfig,\n  type FillConfig,\n  type AxisConfig,\n  type HideableFieldConfig,\n  StackingMode,\n  type StackingConfig,\n  type StackableFieldConfig,\n  GraphThresholdsStyleMode,\n  type GraphThresholdsStyleConfig,\n  type GraphFieldConfig,\n  type LegendPlacement,\n  LegendDisplayMode,\n  type VizLegendOptions,\n  type OptionsWithLegend,\n  TableCellDisplayMode,\n  type FieldTextAlignment,\n  type VizTextDisplayOptions,\n  type OptionsWithTextFormatting,\n  TooltipDisplayMode,\n  type VizTooltipOptions,\n  type OptionsWithTooltip,\n} from '@grafana/schema';\n"],"names":["SecretFormField","FormField","Select","AsyncSelect","IndicatorsContainer","NoOptionsMessage","Input","Switch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0WA,MAAM,WAAA,GAAc;AAAA,mBAClBA,+BAAA;AAAA,aACAC,mBAAA;AAAA,UACAC,eAAA;AAAA,eACAC,oBAAA;AAAA,uBACAC,uCAAA;AAAA,oBACAC,iCAAA;AAAA,SACAC,aAAA;AAAA,UACAC;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}