UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

34 lines (33 loc) 1.4 kB
/* 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 { TextEditorView } from "./TextEditorView"; import { markType } from "igniteui-react-core"; import { tryParseNumber } from "igniteui-react-core"; /** * @hidden */ var NumericEditorView = /** @class */ /*@__PURE__*/ (function (_super) { __extends(NumericEditorView, _super); function NumericEditorView(a, b, c) { var _this = _super.call(this, a, b, c) || this; _this.z.b8 = "number"; return _this; } NumericEditorView.prototype.getEditorValue = function () { if (this.z == null || this.z.cq == null) { return null; } var a = NaN; var b = tryParseNumber(this.z.cq, a); a = b.p1; return a; }; NumericEditorView.$t = markType(NumericEditorView, 'NumericEditorView', TextEditorView.$); return NumericEditorView; }(TextEditorView)); export { NumericEditorView };