igniteui-react-grids
Version:
Ignite UI React grid components.
56 lines (55 loc) • 1.98 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, markType } from "igniteui-react-core";
import { List$1 } from "igniteui-react-core";
import { CellModelExport } from "./CellModelExport";
import { StringBuilder } from "igniteui-react-core";
/**
* @hidden
*/
var GridLayerExport = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(GridLayerExport, _super);
function GridLayerExport(a) {
var _this = _super.call(this) || this;
_this.a = null;
_this.c = null;
_this.c = a;
_this.a = new List$1(CellModelExport.$, 0);
return _this;
}
Object.defineProperty(GridLayerExport.prototype, "b", {
get: function () {
return this.a;
},
enumerable: false,
configurable: true
});
GridLayerExport.prototype.e = function (a) {
this.a.add(a);
};
GridLayerExport.prototype.f = function () {
this.a.clear();
};
GridLayerExport.prototype.d = function () {
var a = new StringBuilder(0);
a.u("{");
a.u("name: \"" + this.c + "\", cells: [");
for (var b = 0; b < this.a.count; b++) {
a.l(this.a._inner[b].ab());
if (b < this.a.count - 1) {
a.l(", ");
}
}
a.l("]");
a.l("}");
return a.toString();
};
GridLayerExport.$t = markType(GridLayerExport, 'GridLayerExport');
return GridLayerExport;
}(Base));
export { GridLayerExport };