UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

81 lines (80 loc) 3.48 kB
import { __extends } from "tslib"; import { IgcGridColumnOptionsSectionBaseComponent } from "./igc-grid-column-options-section-base-component"; import { getAllPropertyNames, toSpinal, ensureBool } from "igniteui-webcomponents-core"; var IgcGridColumnOptionsSimpleSectionBaseComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcGridColumnOptionsSimpleSectionBaseComponent, _super); function IgcGridColumnOptionsSimpleSectionBaseComponent() { return _super.call(this) || this; } Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcGridColumnOptionsSimpleSectionBaseComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcGridColumnOptionsSimpleSectionBaseComponent.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(IgcGridColumnOptionsSimpleSectionBaseComponent, "observedAttributes", { get: function () { if (IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent == null) { var names = getAllPropertyNames(IgcGridColumnOptionsSimpleSectionBaseComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = names; } return IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent; }, enumerable: false, configurable: true }); Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "caption", { get: function () { return this.i.by; }, set: function (v) { this.i.by = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "showCaption", { get: function () { return this.i.bw; }, set: function (v) { this.i.bw = ensureBool(v); this._a("showCaption", this.i.bw); }, enumerable: false, configurable: true }); IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = null; return IgcGridColumnOptionsSimpleSectionBaseComponent; }(IgcGridColumnOptionsSectionBaseComponent)); export { IgcGridColumnOptionsSimpleSectionBaseComponent };