Files
grafana-zabbix/dist/datasource-zabbix/module.js

52 lines
1.8 KiB
JavaScript

'use strict';
System.register(['./datasource', './query.controller'], function (_export, _context) {
"use strict";
var ZabbixAPIDatasource, ZabbixQueryController, ZabbixConfigController, 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;
}],
execute: function () {
_export('ConfigCtrl', ZabbixConfigController = function ZabbixConfigController() {
_classCallCheck(this, ZabbixConfigController);
});
ZabbixConfigController.templateUrl = 'datasource-zabbix/partials/config.html';
_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', ZabbixConfigController);
_export('QueryCtrl', ZabbixQueryController);
_export('QueryOptionsCtrl', ZabbixQueryOptionsController);
_export('AnnotationsQueryCtrl', ZabbixAnnotationsQueryController);
}
};
});
//# sourceMappingURL=module.js.map