igniteui-react-grids
Version:
Ignite UI React grid components.
69 lines (68 loc) • 2.54 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 { Column } from "./Column";
import { ColumnCollection } from "./ColumnCollection";
import { markType } from "igniteui-react-core";
import { ColumnTemplateContext } from "./ColumnTemplateContext";
/**
* @hidden
*/
var ColumnGroup = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ColumnGroup, _super);
function ColumnGroup() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.br = null;
return _this;
}
Object.defineProperty(ColumnGroup.prototype, "bo", {
get: function () {
var ret_ = this.n.l("children", function (a) { return new ColumnCollection(); }, function (a) { return new Column(); }, ["Column", "ColumnGroup", "ColumnLayout"]);
return ret_;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnGroup.prototype, "bp", {
get: function () {
var ret_ = this.n.n("collapsible");
return ret_;
},
set: function (a) {
var value_ = a;
this.n.w("collapsible", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnGroup.prototype, "bq", {
get: function () {
var ret_ = this.n.n("expanded");
return ret_;
},
set: function (a) {
var value_ = a;
this.n.w("expanded", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ColumnGroup.prototype, "bs", {
get: function () {
return this.br;
},
set: function (a) {
this.br = a;
this.n.t("collapsibleIndicatorTemplate", function (b) { return new ColumnTemplateContext(); }, this.br);
},
enumerable: false,
configurable: true
});
ColumnGroup.$t = markType(ColumnGroup, 'ColumnGroup', Column.$);
return ColumnGroup;
}(Column));
export { ColumnGroup };