ngx-academia-uniandes-library
Version:
This library is used for Academia-Uniandes system.
21 lines • 835 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var api_1 = require("api-angular-academia-dto/api");
exports.SCREEN = 'Pantalla';
exports.HTML_FORMAT = 'html';
var ReportGeneric = /** @class */ (function () {
function ReportGeneric() {
this.reportModel = new api_1.ReportModel();
}
ReportGeneric.prototype.setVisualOptions = function (event) {
if (event) {
event.name === exports.SCREEN ? this.reportModel.format = exports.HTML_FORMAT : this.reportModel.format = event.name;
}
};
ReportGeneric.prototype.setSearchParams = function (value, type) {
this.reportModel.searchParams[type] = value;
};
return ReportGeneric;
}());
exports.ReportGeneric = ReportGeneric;
//# sourceMappingURL=report-generic.component.js.map