igniteui-react-grids
Version:
Ignite UI React grid components.
436 lines (435 loc) • 13 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 { Base, enumGetBox, EnumUtil, markType } from "igniteui-react-core";
import { WCNativeHelper } from "igniteui-react";
import { GridColumnDataType_$type } from "./GridColumnDataType";
/**
* @hidden
*/
var ColumnState = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ColumnState, _super);
function ColumnState() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.b = new WCNativeHelper();
_this.z = null;
return _this;
}
Object.defineProperty(ColumnState.prototype, "c", {
get: function () {
return this.b;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "nativeElement", {
get: function () {
return this.z;
},
set: function (a) {
this.z = a;
this.b.o = this.z;
},
enumerable: false,
configurable: true
});
ColumnState.prototype.setNativeElement = function (a) {
this.nativeElement = a;
};
Object.defineProperty(ColumnState.prototype, "p", {
get: function () {
var ret_ = this.c.n("pinned");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("pinned", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "s", {
get: function () {
var ret_ = this.c.n("sortable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("sortable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "k", {
get: function () {
var ret_ = this.c.n("filterable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("filterable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "i", {
get: function () {
var ret_ = this.c.n("editable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("editable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "t", {
get: function () {
var ret_ = this.c.n("sortingIgnoreCase");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("sortingIgnoreCase", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "l", {
get: function () {
var ret_ = this.c.n("filteringIgnoreCase");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("filteringIgnoreCase", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "af", {
get: function () {
var ret_ = this.c.n("headerClasses");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("headerClasses", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ag", {
get: function () {
var ret_ = this.c.n("headerGroupClasses");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("headerGroupClasses", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ai", {
get: function () {
var ret_ = this.c.n("maxWidth");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("maxWidth", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "m", {
get: function () {
var ret_ = this.c.n("groupable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("groupable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "o", {
get: function () {
var ret_ = this.c.n("hidden");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("hidden", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "a", {
get: function () {
var ret_ = this.c.n("dataType");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridColumnDataType_$type, EnumUtil.getEnumValue(GridColumnDataType_$type, this.c.f(GridColumnDataType_$type, ret_)));
return EnumUtil.getEnumValue(GridColumnDataType_$type, ret_);
},
set: function (a) {
var value_ = enumGetBox(GridColumnDataType_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.c.w("dataType", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "n", {
get: function () {
var ret_ = this.c.n("hasSummary");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("hasSummary", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ad", {
get: function () {
var ret_ = this.c.n("field");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("field", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ac", {
get: function () {
var ret_ = this.c.n("width");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("width", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ae", {
get: function () {
var ret_ = this.c.n("header");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("header", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "q", {
get: function () {
var ret_ = this.c.n("resizable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("resizable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "r", {
get: function () {
var ret_ = this.c.n("searchable");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("searchable", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "e", {
get: function () {
var ret_ = this.c.n("columnGroup");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("columnGroup", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "f", {
get: function () {
var ret_ = this.c.n("columnLayout");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("columnLayout", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "y", {
get: function () {
var ret_ = this.c.n("rowStart");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("rowStart", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "x", {
get: function () {
var ret_ = this.c.n("rowEnd");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("rowEnd", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "w", {
get: function () {
var ret_ = this.c.n("colStart");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("colStart", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "v", {
get: function () {
var ret_ = this.c.n("colEnd");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("colEnd", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ab", {
get: function () {
var ret_ = this.c.n("parent");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("parent", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "ah", {
get: function () {
var ret_ = this.c.n("key");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("key", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "aj", {
get: function () {
var ret_ = this.c.n("parentKey");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("parentKey", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "g", {
get: function () {
var ret_ = this.c.n("disableHiding");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("disableHiding", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "h", {
get: function () {
var ret_ = this.c.n("disablePinning");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("disablePinning", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "d", {
get: function () {
var ret_ = this.c.n("collapsible");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("collapsible", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "j", {
get: function () {
var ret_ = this.c.n("expanded");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("expanded", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnState.prototype, "u", {
get: function () {
var ret_ = this.c.n("visibleWhenCollapsed");
return ret_;
},
set: function (a) {
var value_ = a;
this.c.w("visibleWhenCollapsed", value_);
},
enumerable: false,
configurable: true
});
ColumnState.$t = markType(ColumnState, 'ColumnState');
return ColumnState;
}(Base));
export { ColumnState };