@sd-angular/core 1.3.184 → 1.3.186
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.
- package/bundles/sd-angular-core-grid-material.umd.js +18 -3
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +16 -5
- package/fesm2015/sd-angular-core-grid-material.js +15 -4
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/components/desktop-cell/desktop-cell.component.d.ts +5 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.184.tgz → sd-angular-core-1.3.186.tgz} +0 -0
|
@@ -4462,9 +4462,21 @@
|
|
|
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
|
+
Object.defineProperty(SdDesktopCell.prototype, "_column", {
|
|
4471
|
+
set: function (column) {
|
|
4472
|
+
this.column = column;
|
|
4473
|
+
if (column.width) {
|
|
4474
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'min-width', column.width);
|
|
4475
|
+
}
|
|
4476
|
+
},
|
|
4477
|
+
enumerable: false,
|
|
4478
|
+
configurable: true
|
|
4479
|
+
});
|
|
4468
4480
|
return SdDesktopCell;
|
|
4469
4481
|
}());
|
|
4470
4482
|
SdDesktopCell.decorators = [
|
|
@@ -4474,12 +4486,15 @@
|
|
|
4474
4486
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
4475
4487
|
},] }
|
|
4476
4488
|
];
|
|
4477
|
-
SdDesktopCell.ctorParameters = function () { return [
|
|
4489
|
+
SdDesktopCell.ctorParameters = function () { return [
|
|
4490
|
+
{ type: core.ElementRef },
|
|
4491
|
+
{ type: core.Renderer2 }
|
|
4492
|
+
]; };
|
|
4478
4493
|
SdDesktopCell.propDecorators = {
|
|
4479
4494
|
sdId: [{ type: core.Input }],
|
|
4480
4495
|
value: [{ type: core.Input }],
|
|
4481
4496
|
key: [{ type: core.Input }],
|
|
4482
|
-
|
|
4497
|
+
_column: [{ type: core.Input, args: ['column',] }],
|
|
4483
4498
|
item: [{ type: core.Input }],
|
|
4484
4499
|
gridOption: [{ type: core.Input }],
|
|
4485
4500
|
cellDef: [{ type: core.Input }],
|