igniteui-react-grids
Version:
Ignite UI React grid components.
145 lines (144 loc) • 4.49 kB
JavaScript
import { __extends } from "tslib";
import { IgrDefinitionBase } from "./igr-definition-base";
import { brushToString, stringToBrush } from "igniteui-react-core";
import { FontInfo } from "igniteui-react-core";
var IgrSummaryRow = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrSummaryRow, _super);
function IgrSummaryRow(props) {
return _super.call(this, props) || this;
}
Object.defineProperty(IgrSummaryRow.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "selectedBackground", {
/**
* Gets or sets the background color for summary cells when selected.
*/
get: function () {
return brushToString(this.i.hv);
},
set: function (v) {
this.i.hv = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "actualSelectedBackground", {
/**
* Gets the actual background color for summary cells when selected.
*/
get: function () {
return brushToString(this.i.hs);
},
set: function (v) {
this.i.hs = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "summaryLabelTextColor", {
/**
* Gets or sets the text color for the summary labels.
*/
get: function () {
return brushToString(this.i.hw);
},
set: function (v) {
this.i.hw = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "actualSummaryLabelTextColor", {
/**
* Gets the actual text color for the summary labels.
*/
get: function () {
return brushToString(this.i.ht);
},
set: function (v) {
this.i.ht = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "summaryNameTextStyle", {
/**
* Gets or sets the text style for the summary labels.
*/
get: function () {
if (this.i.summaryNameTextStyle == null) {
return null;
}
return this.i.summaryNameTextStyle.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.summaryNameTextStyle = fi;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "paddingLeft", {
/**
* Gets or sets the amount of left padding to use for the cell content for this column.
*/
get: function () {
return this.i.g8;
},
set: function (v) {
this.i.g8 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "paddingTop", {
/**
* Gets or sets the amount of top padding to use for the cell content for this column.
*/
get: function () {
return this.i.ha;
},
set: function (v) {
this.i.ha = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "paddingRight", {
/**
* Gets or sets the amount of right padding to use for the cell content of this column.
*/
get: function () {
return this.i.g9;
},
set: function (v) {
this.i.g9 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSummaryRow.prototype, "paddingBottom", {
/**
* Gets or sets the amount of bottom padding to use for the cell content of this column.
*/
get: function () {
return this.i.g7;
},
set: function (v) {
this.i.g7 = +v;
},
enumerable: false,
configurable: true
});
return IgrSummaryRow;
}(IgrDefinitionBase));
export { IgrSummaryRow };