UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

100 lines (99 loc) 3.02 kB
import { DataSourceSummaryOperand_$type } from "igniteui-webcomponents-core"; import { SummaryData as SummaryData_internal } from "./SummaryData"; import { ensureEnum } from "igniteui-webcomponents-core"; /** * Object used to store summary information for group headers. */ var IgcSummaryData = /** @class */ /*@__PURE__*/ (function () { function IgcSummaryData() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcSummaryData.prototype.createImplementation = function () { return new SummaryData_internal(); }; Object.defineProperty(IgcSummaryData.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcSummaryData.prototype.onImplementationCreated = function () { }; IgcSummaryData.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcSummaryData.prototype, "summaryName", { get: function () { return this.i.e; }, set: function (v) { this.i.e = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSummaryData.prototype, "summaryValue", { get: function () { return this.i.b; }, set: function (v) { this.i.b = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSummaryData.prototype, "summaryOperand", { get: function () { return this.i.a; }, set: function (v) { this.i.a = ensureEnum(DataSourceSummaryOperand_$type, v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcSummaryData.prototype, "formattedText", { get: function () { return this.i.c; }, set: function (v) { this.i.c = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSummaryData.prototype, "formattedValue", { get: function () { return this.i.d; }, set: function (v) { this.i.d = v; }, enumerable: false, configurable: true }); IgcSummaryData.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgcSummaryData; }()); export { IgcSummaryData };