igniteui-react-grids
Version:
Ignite UI React grid components.
31 lines (30 loc) • 1.3 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { TextCell } from "./TextCell";
import { markType } from "igniteui-react-core";
/**
* @hidden
*/
var NumericCell = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(NumericCell, _super);
function NumericCell(a) {
var _this = _super.call(this, a) || this;
_this.b4(_this.cl, 2);
_this.b8(_this.cl, 1);
return _this;
}
NumericCell.prototype.bs = function (a, b, c) {
_super.prototype.bs.call(this, a, b, c);
if (a == "Indent" || a == "IsCollapsable") {
this.cl.setRawStyleProperty("margin-left", this.a3 + this.a5 + this.a4 + "px");
}
};
NumericCell.$t = markType(NumericCell, 'NumericCell', TextCell.$);
return NumericCell;
}(TextCell));
export { NumericCell };