import { ColumnExchanger as ColumnExchanger_internal } from "./ColumnExchanger";
/**
 * Indicates a column that should be exchanged with another.
*/
var IgcColumnExchanger = /** @class */ /*@__PURE__*/ (function () {
    function IgcColumnExchanger() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcColumnExchanger.prototype.createImplementation = function () {
        return new ColumnExchanger_internal(0);
    };
    Object.defineProperty(IgcColumnExchanger.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcColumnExchanger.prototype.onImplementationCreated = function () {
    };
    IgcColumnExchanger.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcColumnExchanger.prototype, "targetIndex", {
        /**
         * The desired location of the new column
        */
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = +v;
        },
        enumerable: true,
        configurable: true
    });
    IgcColumnExchanger.prototype.findByName = function (name) {
        return null;
    };
    return IgcColumnExchanger;
}());
export { IgcColumnExchanger };
//# sourceMappingURL=igc-column-exchanger.js.map
