UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

64 lines (63 loc) 2.49 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 { Base, enumGetBox, EnumUtil, markType } from "igniteui-react-core"; import { WCNativeHelper } from "igniteui-react"; import { SortingOptionsMode_$type } from "./SortingOptionsMode"; /** * @hidden */ var SortingOptions = /** @class */ /*@__PURE__*/ (function (_super) { __extends(SortingOptions, _super); function SortingOptions() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.b = new WCNativeHelper(); _this.d = null; return _this; } Object.defineProperty(SortingOptions.prototype, "c", { get: function () { return this.b; }, enumerable: false, configurable: true }); Object.defineProperty(SortingOptions.prototype, "nativeElement", { get: function () { return this.d; }, set: function (a) { this.d = a; this.b.o = this.d; }, enumerable: false, configurable: true }); SortingOptions.prototype.setNativeElement = function (a) { this.nativeElement = a; }; Object.defineProperty(SortingOptions.prototype, "a", { get: function () { var ret_ = this.c.n("mode"); if ((ret_ === undefined && this.___rawMode)) { return undefined; } ret_ = enumGetBox(SortingOptionsMode_$type, EnumUtil.getEnumValue(SortingOptionsMode_$type, this.c.f(SortingOptionsMode_$type, ret_))); return EnumUtil.getEnumValue(SortingOptionsMode_$type, ret_); }, set: function (a) { var value_ = enumGetBox(SortingOptionsMode_$type, a); value_ = WCNativeHelper.camel(value_.toString()); this.c.w("mode", value_); }, enumerable: false, configurable: true }); SortingOptions.$t = markType(SortingOptions, 'SortingOptions'); return SortingOptions; }(Base)); export { SortingOptions };