Build dist directory for 0.0.1

This commit is contained in:
Ivan Mikheykin
2018-09-18 13:32:25 +03:00
parent 3e12ede595
commit dbf7ab649e
95 changed files with 3329 additions and 0 deletions
+77
View File
@@ -0,0 +1,77 @@
'use strict';
System.register(['app/core/utils/kbn'], function (_export, _context) {
"use strict";
var kbn, _createClass, StatusHeatmapOptionsEditorCtrl;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function statusHeatmapOptionsEditor() {
'use strict';
return {
restrict: 'E',
scope: true,
templateUrl: 'public/plugins/status-heatmap-panel/partials/options_editor.html',
controller: StatusHeatmapOptionsEditorCtrl
};
}
_export('statusHeatmapOptionsEditor', statusHeatmapOptionsEditor);
return {
setters: [function (_appCoreUtilsKbn) {
kbn = _appCoreUtilsKbn.default;
}],
execute: function () {
_createClass = function () {
function defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
return function (Constructor, protoProps, staticProps) {
if (protoProps) defineProperties(Constructor.prototype, protoProps);
if (staticProps) defineProperties(Constructor, staticProps);
return Constructor;
};
}();
_export('StatusHeatmapOptionsEditorCtrl', StatusHeatmapOptionsEditorCtrl = function () {
function StatusHeatmapOptionsEditorCtrl($scope) {
_classCallCheck(this, StatusHeatmapOptionsEditorCtrl);
$scope.editor = this;
this.panelCtrl = $scope.ctrl;
this.panel = this.panelCtrl.panel;
this.unitFormats = kbn.getUnitFormats();
this.panelCtrl.render();
}
_createClass(StatusHeatmapOptionsEditorCtrl, [{
key: 'setUnitFormat',
value: function setUnitFormat(subItem) {
this.panel.data.unitFormat = subItem.value;
this.panelCtrl.render();
}
}]);
return StatusHeatmapOptionsEditorCtrl;
}());
_export('StatusHeatmapOptionsEditorCtrl', StatusHeatmapOptionsEditorCtrl);
}
};
});
//# sourceMappingURL=options_editor.js.map