Variable query editor (#856)
* refactor: convert module to typescript * refactor: covert utils to typescript * variable query editor WIP * variable editor: fix type error after grafana/ui update * variable editor: use FormLabel from grafana/ui * variable editor: refactor * variable editor: input validation and highlights * variable editor: fix tests * variable query: fix backward compatibility with empty queries * fix linter errors * variable editor: fix variable replacement in queries
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = {
|
||||
entry: {
|
||||
'./module': './module.js',
|
||||
'components/config': './components/config.js',
|
||||
'datasource-zabbix/module': './datasource-zabbix/module.js',
|
||||
'datasource-zabbix/module': './datasource-zabbix/module.ts',
|
||||
'panel-triggers/module': './panel-triggers/module.js',
|
||||
},
|
||||
output: {
|
||||
@@ -27,7 +27,7 @@ module.exports = {
|
||||
},
|
||||
externals: [
|
||||
// remove the line below if you don't want to use builtin versions
|
||||
'jquery', 'lodash', 'moment', 'angular',
|
||||
'jquery', 'lodash', 'moment', 'angular', 'emotion',
|
||||
'react', 'react-dom', '@grafana/ui', '@grafana/data',
|
||||
function (context, request, callback) {
|
||||
var prefix = 'grafana/';
|
||||
|
||||
Reference in New Issue
Block a user