@sd-angular/core 1.3.184 → 1.3.185

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.
@@ -4462,9 +4462,17 @@
4462
4462
  };
4463
4463
 
4464
4464
  var SdDesktopCell = /** @class */ (function () {
4465
- function SdDesktopCell() {
4465
+ function SdDesktopCell(elementRef, renderer) {
4466
+ this.elementRef = elementRef;
4467
+ this.renderer = renderer;
4466
4468
  this.cellDef = {};
4467
4469
  }
4470
+ SdDesktopCell.prototype.set = function (column) {
4471
+ this.column = column;
4472
+ if (column.width) {
4473
+ this.renderer.setStyle(this.elementRef.nativeElement, 'width', column.width);
4474
+ }
4475
+ };
4468
4476
  return SdDesktopCell;
4469
4477
  }());
4470
4478
  SdDesktopCell.decorators = [
@@ -4474,12 +4482,15 @@
4474
4482
  changeDetection: core.ChangeDetectionStrategy.OnPush
4475
4483
  },] }
4476
4484
  ];
4477
- SdDesktopCell.ctorParameters = function () { return []; };
4485
+ SdDesktopCell.ctorParameters = function () { return [
4486
+ { type: core.ElementRef },
4487
+ { type: core.Renderer2 }
4488
+ ]; };
4478
4489
  SdDesktopCell.propDecorators = {
4479
4490
  sdId: [{ type: core.Input }],
4480
4491
  value: [{ type: core.Input }],
4481
4492
  key: [{ type: core.Input }],
4482
- column: [{ type: core.Input }],
4493
+ set: [{ type: core.Input, args: ['column',] }],
4483
4494
  item: [{ type: core.Input }],
4484
4495
  gridOption: [{ type: core.Input }],
4485
4496
  cellDef: [{ type: core.Input }],