igniteui-react-grids
Version:
Ignite UI React grid components.
48 lines (47 loc) • 2.03 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 { CanvasCellPresenterBase } from "./CanvasCellPresenterBase";
import { CanvasContentCellModelHelper } from "./CanvasContentCellModelHelper";
import { markType } from "igniteui-react-core";
/**
* @hidden
*/
var CanvasSummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(CanvasSummaryCellPresenter, _super);
function CanvasSummaryCellPresenter(a) {
return _super.call(this, a) || this;
}
Object.defineProperty(CanvasSummaryCellPresenter.prototype, "d", {
get: function () {
return this.a;
},
enumerable: false,
configurable: true
});
CanvasSummaryCellPresenter.prototype.b = function (a) {
_super.prototype.b.call(this, a);
var b = a;
if (a.a3) {
if (a.a7("ResolvedSummaryLabel") || a.a7("ResolvedSummaryValue")) {
this.d.dj(b.mn);
this.d.cr(b.mp);
}
if (a.a7("SummaryLabelTextColor")) {
var c = CanvasContentCellModelHelper.e(b.mu);
this.d.dk(c);
}
if (a.a7("FontInfo")) {
this.d.dl(b.ag);
}
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
}
};
CanvasSummaryCellPresenter.$t = markType(CanvasSummaryCellPresenter, 'CanvasSummaryCellPresenter', CanvasCellPresenterBase.$);
return CanvasSummaryCellPresenter;
}(CanvasCellPresenterBase));
export { CanvasSummaryCellPresenter };