Files
grafana-zabbix/dist/datasource-zabbix/module.js
Alexander Zobnin 6fa4baed0c mysql-connector: add config options for selecting data source
and load SQL data source during plugin init
2017-07-21 17:32:46 +03:00

48 lines
1.7 KiB
JavaScript

'use strict';
System.register(['./datasource', './query.controller', './config.controller'], function (_export, _context) {
"use strict";
var ZabbixAPIDatasource, ZabbixQueryController, ZabbixDSConfigController, ZabbixQueryOptionsController, ZabbixAnnotationsQueryController;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
return {
setters: [function (_datasource) {
ZabbixAPIDatasource = _datasource.ZabbixAPIDatasource;
}, function (_queryController) {
ZabbixQueryController = _queryController.ZabbixQueryController;
}, function (_configController) {
ZabbixDSConfigController = _configController.ZabbixDSConfigController;
}],
execute: function () {
_export('QueryOptionsCtrl', ZabbixQueryOptionsController = function ZabbixQueryOptionsController() {
_classCallCheck(this, ZabbixQueryOptionsController);
});
ZabbixQueryOptionsController.templateUrl = 'datasource-zabbix/partials/query.options.html';
_export('AnnotationsQueryCtrl', ZabbixAnnotationsQueryController = function ZabbixAnnotationsQueryController() {
_classCallCheck(this, ZabbixAnnotationsQueryController);
});
ZabbixAnnotationsQueryController.templateUrl = 'datasource-zabbix/partials/annotations.editor.html';
_export('Datasource', ZabbixAPIDatasource);
_export('ConfigCtrl', ZabbixDSConfigController);
_export('QueryCtrl', ZabbixQueryController);
_export('QueryOptionsCtrl', ZabbixQueryOptionsController);
_export('AnnotationsQueryCtrl', ZabbixAnnotationsQueryController);
}
};
});
//# sourceMappingURL=module.js.map