igniteui-react-core
Version:
Ignite UI React Core.
158 lines (157 loc) • 5.59 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, __read, __spreadArray } from "tslib";
import { NativeUIContainer } from "./NativeUIContainer";
import { NativeUIBoxSizing_$type } from "./NativeUIBoxSizing";
import { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIPlaceContent_$type } from "./NativeUIPlaceContent";
/**
* @hidden
*/
var NativeUIGrid = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(NativeUIGrid, _super);
function NativeUIGrid() {
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
_this.bu = null;
return _this;
}
NativeUIGrid.prototype.get_e = function () {
return 7;
};
Object.defineProperty(NativeUIGrid.prototype, "b4", {
get: function () {
return this.bs.getRowDefinitionsCount(this.an);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIGrid.prototype, "b0", {
get: function () {
return this.bs.getColumnDefinitionsCount(this.an);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIGrid.prototype, "bs", {
get: function () {
return this.d;
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIGrid.prototype, "bt", {
get: function () {
var a = this.ah(39);
return EnumUtil.getEnumValue(NativeUIBoxSizing_$type, a);
},
set: function (a) {
this.a5(39, enumGetBox(NativeUIBoxSizing_$type, a));
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIGrid.prototype, "bx", {
get: function () {
var a = this.ah(74);
return EnumUtil.getEnumValue(NativeUIPlaceContent_$type, a);
},
set: function (a) {
this.a5(74, enumGetBox(NativeUIPlaceContent_$type, a));
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIGrid.prototype, "by", {
get: function () {
return this.ah(38);
},
set: function (a) {
this.a5(38, a);
},
enumerable: false,
configurable: true
});
NativeUIGrid.prototype.b7 = function (a, b, c) {
this.bs.addRowDefinition(this.an, a, b, c);
};
NativeUIGrid.prototype.b8 = function (a, b, c, d) {
this.bs.addRowDefinitionWithMin(this.an, a, b, c, d);
};
NativeUIGrid.prototype.ci = function (a, b, c) {
this.bs.updateRowDefinition(this.an, a, b, c);
};
NativeUIGrid.prototype.b5 = function (a, b, c) {
this.bs.addColumnDefinition(this.an, a, b, c);
};
NativeUIGrid.prototype.b6 = function (a, b, c, d) {
this.bs.addColumnDefinitionWithMin(this.an, a, b, c, d);
};
NativeUIGrid.prototype.cg = function (a, b, c) {
this.bs.updateColumnDefinition(this.an, a, b, c);
};
NativeUIGrid.prototype.ch = function (a, b, c, d) {
this.bs.updateColumnDefinitionWithMin(this.an, a, b, c, d);
};
NativeUIGrid.prototype.b9 = function (a, b, c) {
this.bs.insertColumnDefinition(this.an, a, b, c);
};
NativeUIGrid.prototype.ca = function (a, b, c, d) {
this.bs.insertColumnDefinitionWithMin(this.an, a, b, c, d);
};
NativeUIGrid.prototype.cf = function (a, b) {
this.bs.setRow(this.an, a, b);
};
NativeUIGrid.prototype.cd = function (a, b) {
this.bs.setColumn(this.an, a, b);
};
NativeUIGrid.prototype.ce = function (a, b) {
this.bs.setColumnSpan(this.an, a, b);
};
NativeUIGrid.prototype.b3 = function (a) {
return this.bs.getRow(this.an, a);
};
NativeUIGrid.prototype.b1 = function (a) {
return this.bs.getColumn(this.an, a);
};
NativeUIGrid.prototype.b2 = function (a) {
return this.bs.getColumnSpan(this.an, a);
};
NativeUIGrid.prototype.cc = function (a) {
this.bs.removeRowDefinition(this.an, a);
};
NativeUIGrid.prototype.cb = function (a) {
this.bs.removeColumnDefinition(this.an, a);
};
NativeUIGrid.prototype.bw = function (a) {
return this.bs.getColumnDefinitionWidthType(this.an, a);
};
NativeUIGrid.prototype.bz = function (a) {
return this.bs.getColumnDefinitionWidthValue(this.an, a);
};
Object.defineProperty(NativeUIGrid.prototype, "bv", {
get: function () {
return this.bu;
},
set: function (a) {
var b = this.bu;
this.bu = a;
if (this.bu != b) {
if (b != null) {
this.a3(1, b);
}
if (this.bu != null) {
this.ar(1, this.bu);
}
}
},
enumerable: false,
configurable: true
});
NativeUIGrid.$t = markType(NativeUIGrid, 'NativeUIGrid', NativeUIContainer.$);
return NativeUIGrid;
}(NativeUIContainer));
export { NativeUIGrid };