igniteui-react-grids
Version:
Ignite UI React grid components.
69 lines (68 loc) • 2.32 kB
JavaScript
import { __extends } from "tslib";
import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode";
import { IgrCellInfo } from "./igr-cell-info";
import { SectionHeaderCellModel as SectionHeaderCellModel_internal } from "./SectionHeaderCellModel";
import { ensureEnum } from "igniteui-react-core";
/**
* Backing information for a section header cell in the grid.
*/
var IgrSectionHeaderCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrSectionHeaderCellInfo, _super);
function IgrSectionHeaderCellInfo() {
return _super.call(this) || this;
}
IgrSectionHeaderCellInfo.prototype.createImplementation = function () {
return new SectionHeaderCellModel_internal();
};
Object.defineProperty(IgrSectionHeaderCellInfo.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSectionHeaderCellInfo.prototype, "resolvedText", {
/**
* Sets or gets the resolved text for the section header cell.
*/
get: function () {
return this.i.mv;
},
set: function (v) {
this.i.mv = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSectionHeaderCellInfo.prototype, "resolvedSummaryText", {
/**
* Sets or gets the resolved summary text for the section header cell.
*/
get: function () {
return this.i.mt;
},
set: function (v) {
this.i.mt = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSectionHeaderCellInfo.prototype, "summaryDisplayMode", {
/**
* Sets or gets how summaries are displayed in the section header cell.
*/
get: function () {
return this.i.mk;
},
set: function (v) {
this.i.mk = ensureEnum(GroupSummaryDisplayMode_$type, v);
},
enumerable: false,
configurable: true
});
return IgrSectionHeaderCellInfo;
}(IgrCellInfo));
export { IgrSectionHeaderCellInfo };