/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
 */
import { Component, HostBinding } from '@angular/core';
var StepItemComponent = /** @class */ (function () {
    function StepItemComponent() {
        this.index = 0;
        this._isSuccess = false;
        this._maxWidth = '50%';
        this._isWaiting = false;
    }
    Object.defineProperty(StepItemComponent.prototype, "maxWidth", {
        get: /**
         * @return {?}
         */
        function () {
            return this._maxWidth;
        },
        set: /**
         * @param {?} width
         * @return {?}
         */
        function (width) {
            this._maxWidth = width;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(StepItemComponent.prototype, "isSuccess", {
        get: /**
         * @return {?}
         */
        function () {
            return this._isSuccess;
        },
        set: /**
         * @param {?} status
         * @return {?}
         */
        function (status) {
            this._isSuccess = status;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(StepItemComponent.prototype, "isWaiting", {
        get: /**
         * @return {?}
         */
        function () {
            return this._isWaiting;
        },
        set: /**
         * @param {?} status
         * @return {?}
         */
        function (status) {
            this._isWaiting = status;
        },
        enumerable: true,
        configurable: true
    });
    StepItemComponent.decorators = [
        { type: Component, args: [{
                    selector: 'ui-step-item',
                    template: "<div class=\"ui-step-header\">\n  <div class=\"ui-step-icon\">\n    <div class=\"ui-step-icon-inner\" [ngClass]=\"{'is-waiting': isWaiting}\" *ngIf=\"!isSuccess\">{{ index }}</div>\n    <span class=\"ui-icon-checkmark ui-color-primary\" *ngIf=\"isSuccess\"></span>\n  </div>\n  <div class=\"ui-step-line\">\n    <div class=\"ui-step-line-inner\"></div>\n  </div>\n</div>\n<div class=\"ui-step-main\">\n  <ng-content></ng-content>\n</div>\n"
                },] },
    ];
    StepItemComponent.propDecorators = {
        maxWidth: [{ type: HostBinding, args: ['style.maxWidth',] }],
        isSuccess: [{ type: HostBinding, args: ['class.is-success',] }],
        isWaiting: [{ type: HostBinding, args: ['class.is-waiting',] }]
    };
    return StepItemComponent;
}());
export { StepItemComponent };
if (false) {
    /** @type {?} */
    StepItemComponent.prototype.index;
    /** @type {?} */
    StepItemComponent.prototype._isSuccess;
    /** @type {?} */
    StepItemComponent.prototype._maxWidth;
    /** @type {?} */
    StepItemComponent.prototype._isWaiting;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YW5iby91aS8iLCJzb3VyY2VzIjpbImxpYi9zdGVwL3N0ZXAtaXRlbS9zdGVwLWl0ZW0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O3FCQW1CckMsQ0FBQzswQkF3QmEsS0FBSzt5QkFDUCxLQUFLOzBCQUNILEtBQUs7O0lBekJuQyxzQkFDSSx1Q0FBUTs7OztRQURaO1lBRUUsTUFBTSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUM7U0FDdkI7Ozs7O1FBQ0QsVUFBYSxLQUFhO1lBQ3hCLElBQUksQ0FBQyxTQUFTLEdBQUcsS0FBSyxDQUFDO1NBQ3hCOzs7T0FIQTtJQUlELHNCQUNJLHdDQUFTOzs7O1FBRGI7WUFFRSxNQUFNLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQztTQUN4Qjs7Ozs7UUFDRCxVQUFjLE1BQWU7WUFDM0IsSUFBSSxDQUFDLFVBQVUsR0FBRyxNQUFNLENBQUM7U0FDMUI7OztPQUhBO0lBS0Qsc0JBQ0ksd0NBQVM7Ozs7UUFEYjtZQUVFLE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDO1NBQ3hCOzs7OztRQUNELFVBQWMsTUFBZTtZQUMzQixJQUFJLENBQUMsVUFBVSxHQUFHLE1BQU0sQ0FBQztTQUMxQjs7O09BSEE7O2dCQXBDRixTQUFTLFNBQUM7b0JBQ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