@coolon/angular-ui-powerups 2.0.0-alpha.6 → 2.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1584,8 +1584,8 @@ var ColumnModel = /** @class */ (function () {
1584
1584
  }());
1585
1585
  var PropertyColumnModel = /** @class */ (function (_super) {
1586
1586
  __extends(PropertyColumnModel, _super);
1587
- function PropertyColumnModel(property, defaults) {
1588
- var _this = _super.call(this, property.toString(), defaults) || this;
1587
+ function PropertyColumnModel(id, property, defaults) {
1588
+ var _this = _super.call(this, id, defaults) || this;
1589
1589
  _this.property = property;
1590
1590
  _this._format = function (value) { return value; };
1591
1591
  _this.cellRenderer(DefaultCellRendererComponent);
@@ -1629,8 +1629,8 @@ var PropertyColumnModel = /** @class */ (function (_super) {
1629
1629
  }(ColumnModel));
1630
1630
  var ListPropertyColumnModel = /** @class */ (function (_super) {
1631
1631
  __extends(ListPropertyColumnModel, _super);
1632
- function ListPropertyColumnModel(property, defaults) {
1633
- var _this = _super.call(this, property.toString(), defaults) || this;
1632
+ function ListPropertyColumnModel(id, property, defaults) {
1633
+ var _this = _super.call(this, id, defaults) || this;
1634
1634
  _this.property = property;
1635
1635
  _this._format = function (value) { return value.map(function (v) { return v === null || v === void 0 ? void 0 : v.toString(); }).join(', '); };
1636
1636
  _this.cellRenderer(DefaultCellRendererComponent);
@@ -1864,7 +1864,7 @@ var TableModel = /** @class */ (function () {
1864
1864
  this.dataSource = chain(this.sourceOfTruth).replaceAll(this.rowsBeingEdited);
1865
1865
  this.firstEditableColumn = chain(this.columns).select(function (c) { return c.hasEditorPortal(); }).first();
1866
1866
  this.hasColumnsWithRowSelectionExplicitlyEnabled = chain(this._columns).findIndex(function (column) { return column.isRowSelectionExplicitlyEnabled(); }).isGreaterThanOrEqualTo(0);
1867
- this.addRowClass("enable-hover", function () { return _this.isRowSelectionEnabled(); });
1867
+ this.addRowClass('enable-hover', function () { return _this.isRowSelectionEnabled(); });
1868
1868
  }
1869
1869
  TableModel_1 = TableModel;
1870
1870
  TableModel.fromList = function (sourceOfTruth, builder) {
@@ -1892,11 +1892,11 @@ var TableModel = /** @class */ (function () {
1892
1892
  enumerable: true,
1893
1893
  configurable: true
1894
1894
  });
1895
- TableModel.prototype.pluck = function (property) {
1896
- return this.addColumn(new PropertyColumnModel(property, this));
1895
+ TableModel.prototype.pluck = function (property, options) {
1896
+ return this.addColumn(new PropertyColumnModel((options === null || options === void 0 ? void 0 : options.columnId) || property.toString(), property, this));
1897
1897
  };
1898
- TableModel.prototype.pluckList = function (property) {
1899
- return this.addColumn(new ListPropertyColumnModel(property, this));
1898
+ TableModel.prototype.pluckList = function (property, options) {
1899
+ return this.addColumn(new ListPropertyColumnModel((options === null || options === void 0 ? void 0 : options.columnId) || property.toString(), property, this));
1900
1900
  };
1901
1901
  TableModel.prototype.addSelectionColumn = function (selectionModel) {
1902
1902
  assert.isNil(this.selectionColumnModel);