@coolon/angular-ui-powerups 11.0.0-alpha.4 → 11.0.0-alpha.5

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.
@@ -4275,14 +4275,21 @@
4275
4275
  var TreeTableComponent = /** @class */ (function (_super) {
4276
4276
  __extends(TreeTableComponent, _super);
4277
4277
  function TreeTableComponent() {
4278
- return _super.call(this) || this;
4278
+ var _this = _super.call(this) || this;
4279
+ /**
4280
+ * Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
4281
+ * need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
4282
+ * containment area.
4283
+ */
4284
+ _this.enableScrolling = false;
4285
+ return _this;
4279
4286
  }
4280
4287
  return TreeTableComponent;
4281
4288
  }(DisposableComponent));
4282
4289
  TreeTableComponent.decorators = [
4283
4290
  { type: i0.Component, args: [{
4284
4291
  selector: "aup-tree-table",
4285
- template: "<aup-table [tableModel]=\"treeTableModel\"></aup-table>\n",
4292
+ template: "<aup-table [tableModel]=\"treeTableModel\" [showHeaderModel]=\"showHeaderModel\" [enableScrolling]=\"enableScrolling\"></aup-table>\n",
4286
4293
  encapsulation: i0.ViewEncapsulation.None // allow us to target nested table styles
4287
4294
  ,
4288
4295
  styles: ["td.mat-cell{border-top-width:0!important;border-bottom-width:0!important}td.mat-column-tree-label{width:1px}aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}aup-tree-label-cell-renderer{flex:1}"]
@@ -4290,12 +4297,23 @@
4290
4297
  ];
4291
4298
  TreeTableComponent.ctorParameters = function () { return []; };
4292
4299
  TreeTableComponent.propDecorators = {
4293
- treeTableModel: [{ type: i0.Input }]
4300
+ treeTableModel: [{ type: i0.Input }],
4301
+ showHeaderModel: [{ type: i0.Input }],
4302
+ showHeader: [{ type: i0.Input }],
4303
+ enableScrolling: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.enable-scrolling',] }]
4294
4304
  };
4295
4305
  __decorate([
4296
4306
  pectin.TrackExternal(),
4297
4307
  __metadata("design:type", TreeTableModel)
4298
4308
  ], TreeTableComponent.prototype, "treeTableModel", void 0);
4309
+ __decorate([
4310
+ pectin.TrackExternal({ defaultValue: true }),
4311
+ __metadata("design:type", pectin.ValueModel)
4312
+ ], TreeTableComponent.prototype, "showHeaderModel", void 0);
4313
+ __decorate([
4314
+ pectin.StoreInValueModel('showHeaderModel'),
4315
+ __metadata("design:type", Boolean)
4316
+ ], TreeTableComponent.prototype, "showHeader", void 0);
4299
4317
 
4300
4318
  var VerticalFocusContainerComponent = /** @class */ (function (_super) {
4301
4319
  __extends(VerticalFocusContainerComponent, _super);