igniteui-webcomponents-grids
Version:
Ignite UI Web Components grid components.
66 lines (65 loc) • 2.9 kB
JavaScript
import { __extends } from "tslib";
import { IgcGridColumnOptionsBaseComponent } from "./igc-grid-column-options-base-component";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
var IgcGridColumnOptionsSectionBaseComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcGridColumnOptionsSectionBaseComponent, _super);
function IgcGridColumnOptionsSectionBaseComponent() {
return _super.call(this) || this;
}
Object.defineProperty(IgcGridColumnOptionsSectionBaseComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcGridColumnOptionsSectionBaseComponent.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();
}
};
IgcGridColumnOptionsSectionBaseComponent.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(IgcGridColumnOptionsSectionBaseComponent, "observedAttributes", {
get: function () {
if (IgcGridColumnOptionsSectionBaseComponent._observedAttributesIgcGridColumnOptionsSectionBaseComponent == null) {
var names = getAllPropertyNames(IgcGridColumnOptionsSectionBaseComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcGridColumnOptionsSectionBaseComponent._observedAttributesIgcGridColumnOptionsSectionBaseComponent = names;
}
return IgcGridColumnOptionsSectionBaseComponent._observedAttributesIgcGridColumnOptionsSectionBaseComponent;
},
enumerable: false,
configurable: true
});
IgcGridColumnOptionsSectionBaseComponent.prototype.onApply = function () {
this.i.bt();
};
IgcGridColumnOptionsSectionBaseComponent.prototype.onCancel = function () {
this.i.bu();
};
IgcGridColumnOptionsSectionBaseComponent._observedAttributesIgcGridColumnOptionsSectionBaseComponent = null;
return IgcGridColumnOptionsSectionBaseComponent;
}(IgcGridColumnOptionsBaseComponent));
export { IgcGridColumnOptionsSectionBaseComponent };