UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

102 lines (101 loc) 4.11 kB
import { __extends } from "tslib"; import { IgcGridConditionalStyleCollection } from "./igc-grid-conditional-style-collection"; import { IgcGridConditionalStyleComponent } from "./igc-grid-conditional-style-component"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; var IgcGridCompoundConditionalStyleComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcGridCompoundConditionalStyleComponent, _super); function IgcGridCompoundConditionalStyleComponent() { return _super.call(this) || this; } Object.defineProperty(IgcGridCompoundConditionalStyleComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcGridCompoundConditionalStyleComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (this.updateContentChildren) { this.updateContentChildren(); } else if (this._updateAdapters) { this._updateAdapters(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcGridCompoundConditionalStyleComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcGridCompoundConditionalStyleComponent, "observedAttributes", { get: function () { if (IgcGridCompoundConditionalStyleComponent._observedAttributesIgcGridCompoundConditionalStyleComponent == null) { var names = getAllPropertyNames(IgcGridCompoundConditionalStyleComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcGridCompoundConditionalStyleComponent._observedAttributesIgcGridCompoundConditionalStyleComponent = names; } return IgcGridCompoundConditionalStyleComponent._observedAttributesIgcGridCompoundConditionalStyleComponent; }, enumerable: false, configurable: true }); Object.defineProperty(IgcGridCompoundConditionalStyleComponent.prototype, "isCompound", { get: function () { return this.i.s; }, enumerable: false, configurable: true }); IgcGridCompoundConditionalStyleComponent.prototype.getSubStyles = function () { var iv = this.i.aq(); var ret = null; if (iv && iv.externalObject) { ret = iv.externalObject; } else { if (iv) { var e = new IgcGridConditionalStyleCollection(); e._implementation = iv; iv.externalObject = e; ret = e; } } return ret; }; IgcGridCompoundConditionalStyleComponent.prototype.actualNeedsFieldMaximum = function () { var iv = this.i.p(); return (iv); }; IgcGridCompoundConditionalStyleComponent.prototype.actualNeedsFieldMinimum = function () { var iv = this.i.q(); return (iv); }; IgcGridCompoundConditionalStyleComponent.prototype.actualNeedsFieldSum = function () { var iv = this.i.r(); return (iv); }; IgcGridCompoundConditionalStyleComponent._observedAttributesIgcGridCompoundConditionalStyleComponent = null; return IgcGridCompoundConditionalStyleComponent; }(IgcGridConditionalStyleComponent)); export { IgcGridCompoundConditionalStyleComponent };