var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "@angular/core", "../../config/config", "../../util/form", "../ion"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var core_1 = require("@angular/core");
    var config_1 = require("../../config/config");
    var form_1 = require("../../util/form");
    var ion_1 = require("../ion");
    /**
     * @hidden
     */
    var ItemDivider = (function (_super) {
        __extends(ItemDivider, _super);
        /**
         * @param {?} form
         * @param {?} config
         * @param {?} elementRef
         * @param {?} renderer
         */
        function ItemDivider(form, config, elementRef, renderer) {
            return _super.call(this, config, elementRef, renderer, 'item-divider') || this;
        }
        Object.defineProperty(ItemDivider.prototype, "color", {
            /**
             * \@input {string} The color to use from your Sass `$colors` map.
             * Default options are: `"primary"`, `"secondary"`, `"danger"`, `"light"`, and `"dark"`.
             * For more information, see [Theming your App](/docs/v2/theming/theming-your-app).
             * @param {?} val
             * @return {?}
             */
            set: function (val) {
                this._setColor(val);
            },
            enumerable: true,
            configurable: true
        });
        Object.defineProperty(ItemDivider.prototype, "mode", {
            /**
             * \@input {string} The mode determines which platform styles to use.
             * Possible values are: `"ios"`, `"md"`, or `"wp"`.
             * For more information, see [Platform Styles](/docs/v2/theming/platform-specific-styles).
             * @param {?} val
             * @return {?}
             */
            set: function (val) {
                this._setMode(val);
            },
            enumerable: true,
            configurable: true
        });
        return ItemDivider;
    }(ion_1.Ion));
    ItemDivider.decorators = [
        { type: core_1.Directive, args: [{
                    selector: 'ion-item-divider',
                    host: {
                        'class': 'item-divider'
                    }
                },] },
    ];
    /**
     * @nocollapse
     */
    ItemDivider.ctorParameters = function () { return [
        { type: form_1.Form, },
        { type: config_1.Config, },
        { type: core_1.ElementRef, },
        { type: core_1.Renderer, },
    ]; };
    ItemDivider.propDecorators = {
        'color': [{ type: core_1.Input },],
        'mode': [{ type: core_1.Input },],
    };
    exports.ItemDivider = ItemDivider;
    function ItemDivider_tsickle_Closure_declarations() {
        /** @type {?} */
        ItemDivider.decorators;
        /**
         * @nocollapse
         * @type {?}
         */
        ItemDivider.ctorParameters;
        /** @type {?} */
        ItemDivider.propDecorators;
    }
});
//# sourceMappingURL=item-divider.js.map