bitfront-library
Version:
Angular CLI project with components and classes used by other Angular projects of the BIT foundation.
33 lines • 1.23 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.Config = void 0;
var item_1 = require("../../../shared/data/item");
var Config = /** @class */ (function (_super) {
__extends(Config, _super);
function Config(id, codigo, valor) {
var _this = _super.call(this, codigo) || this;
_this.id = id;
_this.codigo = codigo;
_this.valor = valor;
return _this;
}
Config.newObject = function () {
return new Config(null, null, null);
};
return Config;
}(item_1.Item));
exports.Config = Config;
//# sourceMappingURL=config.js.map