bitfront-library
Version:
Angular CLI project with components and classes used by other Angular projects of the BIT foundation.
39 lines • 1.62 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigFilter = void 0;
var base_filter_1 = require("../../../base/shared/base.filter");
var ConfigFilter = /** @class */ (function (_super) {
__extends(ConfigFilter, _super);
function ConfigFilter(resultados, pagina) {
var _this = _super.call(this, resultados, pagina) || this;
_this.resultados = resultados;
_this.pagina = pagina;
return _this;
}
ConfigFilter.prototype.reset = function () {
_super.prototype.reset.call(this);
};
ConfigFilter.prototype.copy = function () {
return new ConfigFilter(this.resultados, this.pagina);
};
ConfigFilter.newObject = function () {
var filter = new ConfigFilter(base_filter_1.BaseFilter.RESULTADOS_PAGE, base_filter_1.BaseFilter.PAGE);
return filter;
};
return ConfigFilter;
}(base_filter_1.BaseFilter));
exports.ConfigFilter = ConfigFilter;
//# sourceMappingURL=config.filter.js.map