UNPKG

angular4-material-table

Version:

Angular 4 table based on @angular/cdk table structure, to allow row insertion, edition, validation and deletion.

53 lines 1.94 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { TableElement } from './table-element'; var TableElementTemplateDriven = /** @class */ (function (_super) { __extends(TableElementTemplateDriven, _super); function TableElementTemplateDriven(init) { var _this = _super.call(this) || this; Object.assign(_this, init); return _this; } Object.defineProperty(TableElementTemplateDriven.prototype, "validator", { get: function () { return null; }, set: function (value) { }, enumerable: true, configurable: true }); Object.defineProperty(TableElementTemplateDriven.prototype, "currentData", { get: function () { return this._currentData; }, set: function (data) { this._currentData = data; }, enumerable: true, configurable: true }); Object.defineProperty(TableElementTemplateDriven.prototype, "editing", { get: function () { return this._editing; }, set: function (value) { this._editing = value; }, enumerable: true, configurable: true }); TableElementTemplateDriven.prototype.isValid = function () { return true; }; return TableElementTemplateDriven; }(TableElement)); export { TableElementTemplateDriven }; //# sourceMappingURL=table-element-template-driven.js.map