import { IgcColumnComponent } from "./igc-column-component";
import { ColumnHiddenChangedEventArgs as ColumnHiddenChangedEventArgs_internal } from "./ColumnHiddenChangedEventArgs";
import { ensureBool } from "igniteui-webcomponents-core";
var IgcColumnHiddenChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgcColumnHiddenChangedEventArgs() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcColumnHiddenChangedEventArgs.prototype.createImplementation = function () {
        return new ColumnHiddenChangedEventArgs_internal();
    };
    Object.defineProperty(IgcColumnHiddenChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcColumnHiddenChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgcColumnHiddenChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcColumnHiddenChangedEventArgs.prototype, "column", {
        get: function () {
            if (this.i.a == null) {
                return null;
            }
            if (!this.i.a.externalObject) {
                var e = IgcColumnComponent._createFromInternal(this.i.a);
                if (e) {
                    e._implementation = this.i.a;
                }
                this.i.a.externalObject = e;
            }
            return this.i.a.externalObject;
        },
        set: function (v) {
            v == null ? this.i.a = null : this.i.a = v.i;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcColumnHiddenChangedEventArgs.prototype, "isHidden", {
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = ensureBool(v);
        },
        enumerable: true,
        configurable: true
    });
    return IgcColumnHiddenChangedEventArgs;
}());
export { IgcColumnHiddenChangedEventArgs };
//# sourceMappingURL=igc-column-hidden-changed-event-args.js.map
