Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a78ca939
Unverified
Commit
a78ca939
authored
Apr 19, 2020
by
Dominik Prokop
Committed by
GitHub
Apr 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: grafana/ui imports (#23680)
parent
19dcaf6b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
packages/grafana-ui/src/components/index.ts
+1
-0
public/app/features/dashboard/components/PanelEditor/DynamicConfigValueEditor.tsx
+2
-2
public/app/features/dashboard/components/PanelEditor/FieldConfigEditor.tsx
+3
-4
public/app/features/dashboard/components/PanelEditor/PanelOptionsTab.tsx
+3
-4
No files found.
packages/grafana-ui/src/components/index.ts
View file @
a78ca939
...
@@ -53,6 +53,7 @@ export { TableInputCSV } from './TableInputCSV/TableInputCSV';
...
@@ -53,6 +53,7 @@ export { TableInputCSV } from './TableInputCSV/TableInputCSV';
export
{
TabsBar
}
from
'./Tabs/TabsBar'
;
export
{
TabsBar
}
from
'./Tabs/TabsBar'
;
export
{
Tab
}
from
'./Tabs/Tab'
;
export
{
Tab
}
from
'./Tabs/Tab'
;
export
{
TabContent
}
from
'./Tabs/TabContent'
;
export
{
TabContent
}
from
'./Tabs/TabContent'
;
export
{
Counter
}
from
'./Tabs/Counter'
;
// Visualizations
// Visualizations
export
{
export
{
...
...
public/app/features/dashboard/components/PanelEditor/DynamicConfigValueEditor.tsx
View file @
a78ca939
import
{
DynamicConfigValue
,
FieldConfigOptionsRegistry
,
FieldOverrideContext
,
GrafanaTheme
}
from
'@grafana/data'
;
import
{
DynamicConfigValue
,
FieldConfigOptionsRegistry
,
FieldOverrideContext
,
GrafanaTheme
}
from
'@grafana/data'
;
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Field
,
HorizontalGroup
,
IconButton
,
Label
,
stylesFactory
,
useTheme
}
from
'@grafana/ui'
;
import
{
Counter
,
Field
,
HorizontalGroup
,
IconButton
,
Label
,
stylesFactory
,
useTheme
}
from
'@grafana/ui'
;
import
{
css
,
cx
}
from
'emotion'
;
import
{
css
,
cx
}
from
'emotion'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
Counter
}
from
'@grafana/ui/src/components/Tabs/Counter'
;
interface
DynamicConfigValueEditorProps
{
interface
DynamicConfigValueEditorProps
{
property
:
DynamicConfigValue
;
property
:
DynamicConfigValue
;
registry
:
FieldConfigOptionsRegistry
;
registry
:
FieldConfigOptionsRegistry
;
...
...
public/app/features/dashboard/components/PanelEditor/FieldConfigEditor.tsx
View file @
a78ca939
import
React
,
{
useCallback
}
from
'react'
;
import
React
,
{
useCallback
}
from
'react'
;
import
cloneDeep
from
'lodash/cloneDeep'
;
import
cloneDeep
from
'lodash/cloneDeep'
;
import
{
import
{
FieldConfigSource
,
DataFrame
,
DataFrame
,
FieldConfigPropertyItem
,
FieldConfigPropertyItem
,
VariableSuggestionsScop
e
,
FieldConfigSourc
e
,
PanelPlugin
,
PanelPlugin
,
SelectableValue
,
SelectableValue
,
VariableSuggestionsScope
,
}
from
'@grafana/data'
;
}
from
'@grafana/data'
;
import
{
fieldMatchersUI
,
ValuePicker
,
Label
,
Field
,
Contain
er
}
from
'@grafana/ui'
;
import
{
Container
,
Counter
,
Field
,
fieldMatchersUI
,
Label
,
ValuePick
er
}
from
'@grafana/ui'
;
import
{
getDataLinksVariableSuggestions
}
from
'../../../panel/panellinks/link_srv'
;
import
{
getDataLinksVariableSuggestions
}
from
'../../../panel/panellinks/link_srv'
;
import
{
OverrideEditor
}
from
'./OverrideEditor'
;
import
{
OverrideEditor
}
from
'./OverrideEditor'
;
import
groupBy
from
'lodash/groupBy'
;
import
groupBy
from
'lodash/groupBy'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
Counter
}
from
'@grafana/ui/src/components/Tabs/Counter'
;
interface
Props
{
interface
Props
{
plugin
:
PanelPlugin
;
plugin
:
PanelPlugin
;
...
...
public/app/features/dashboard/components/PanelEditor/PanelOptionsTab.tsx
View file @
a78ca939
import
React
,
{
FC
,
useMemo
}
from
'react'
;
import
React
,
{
FC
,
useMemo
}
from
'react'
;
import
{
PanelModel
,
Dashboard
Model
}
from
'../../state'
;
import
{
DashboardModel
,
Panel
Model
}
from
'../../state'
;
import
{
SelectableValue
,
PanelPlugin
,
FieldConfigSource
,
PanelData
}
from
'@grafana/data'
;
import
{
FieldConfigSource
,
PanelData
,
PanelPlugin
,
SelectableValue
}
from
'@grafana/data'
;
import
{
Switch
,
Select
,
DataLinksInlineEditor
,
Input
,
TextArea
,
RadioButtonGroup
,
Field
}
from
'@grafana/ui'
;
import
{
Counter
,
DataLinksInlineEditor
,
Field
,
Input
,
RadioButtonGroup
,
Select
,
Switch
,
TextArea
}
from
'@grafana/ui'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
OptionsGroup
}
from
'./OptionsGroup'
;
import
{
getPanelLinksVariableSuggestions
}
from
'../../../panel/panellinks/link_srv'
;
import
{
getPanelLinksVariableSuggestions
}
from
'../../../panel/panellinks/link_srv'
;
import
{
getVariables
}
from
'../../../variables/state/selectors'
;
import
{
getVariables
}
from
'../../../variables/state/selectors'
;
import
{
PanelOptionsEditor
}
from
'./PanelOptionsEditor'
;
import
{
PanelOptionsEditor
}
from
'./PanelOptionsEditor'
;
import
{
AngularPanelOptions
}
from
'../../panel_editor/AngularPanelOptions'
;
import
{
AngularPanelOptions
}
from
'../../panel_editor/AngularPanelOptions'
;
import
{
Counter
}
from
'@grafana/ui/src/components/Tabs/Counter'
;
interface
Props
{
interface
Props
{
panel
:
PanelModel
;
panel
:
PanelModel
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment