import { ResponsivePhase as ResponsivePhase_internal } from "./ResponsivePhase";
/**
 * Describes one phase of a responsive state to apply to the grid.
*/
var IgcResponsivePhase = /** @class */ /*@__PURE__*/ (function () {
    function IgcResponsivePhase() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcResponsivePhase.prototype.createImplementation = function () {
        return new ResponsivePhase_internal();
    };
    Object.defineProperty(IgcResponsivePhase.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcResponsivePhase.prototype.onImplementationCreated = function () {
    };
    IgcResponsivePhase.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcResponsivePhase.prototype, "name", {
        /**
         * The name of this responsive phase
        */
        get: function () {
            return this.i.k;
        },
        set: function (v) {
            this.i.k = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcResponsivePhase.prototype, "delayMilliseconds", {
        /**
         * The amount of time to delay the responsive phase from starting, in milliseconds
        */
        get: function () {
            return this.i.i;
        },
        set: function (v) {
            this.i.i = +v;
        },
        enumerable: true,
        configurable: true
    });
    IgcResponsivePhase.prototype.findByName = function (name) {
        return null;
    };
    /**
     * Adds a column property setter to the phase.
    
    * @param setter  * The setter to add.
    */
    IgcResponsivePhase.prototype.addColumnPropertySetter = function (setter) {
        var iv = this.i.g((setter == null ? null : setter.i));
        return (iv == null ? null : iv.externalObject);
    };
    /**
     * Adds a column property setter to the phase, and returns it.
    
    */
    IgcResponsivePhase.prototype.columnPropertySetter = function () {
        var iv = this.i.c();
        return (iv == null ? null : iv.externalObject);
    };
    /**
     * Adds a column exchanger the the phase.
    
    * @param exchanger  * The exchanger to add.
    */
    IgcResponsivePhase.prototype.addColumnExchanger = function (exchanger) {
        var iv = this.i.f((exchanger == null ? null : exchanger.i));
        return (iv == null ? null : iv.externalObject);
    };
    /**
     * Adds a column exchanger to the phase and returns it.
    
    */
    IgcResponsivePhase.prototype.columnExchanger = function () {
        var iv = this.i.h();
        return (iv == null ? null : iv.externalObject);
    };
    return IgcResponsivePhase;
}());
export { IgcResponsivePhase };
//# sourceMappingURL=igc-responsive-phase.js.map
