igniteui-react-grids
Version:
Ignite UI React grid components.
29 lines (28 loc) • 1.16 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 { TextCell } from "./TextCell";
import { markType } from "igniteui-react-core";
/**
* @hidden
*/
export let NumericCell = /*@__PURE__*/ (() => {
class NumericCell extends TextCell {
constructor(a) {
super(a);
this.b4(this.cl, 2);
this.b8(this.cl, 1);
}
bs(a, b, c) {
super.bs(a, b, c);
if (a == "Indent" || a == "IsCollapsable") {
this.cl.setRawStyleProperty("margin-left", this.a3 + this.a5 + this.a4 + "px");
}
}
}
NumericCell.$t = /*@__PURE__*/ markType(NumericCell, 'NumericCell', TextCell.$);
return NumericCell;
})();