/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Component, HostBinding } from '@angular/core';
export class SlideItemComponent {
    constructor() {
        this.state = '';
        this.animateProgress = 0;
    }
    /**
     * @return {?}
     */
    get isIn() {
        return this.state === 'in';
    }
    /**
     * @return {?}
     */
    get isOut() {
        return this.state === 'out';
    }
    /**
     * @return {?}
     */
    get transform() {
        return `translateX(${this.animateProgress * 100}%)`;
    }
}
SlideItemComponent.decorators = [
    { type: Component, args: [{
                selector: 'ui-slide-item',
                template: `<ng-content></ng-content>
`
            },] },
];
/** @nocollapse */
SlideItemComponent.propDecorators = {
    "isIn": [{ type: HostBinding, args: ['class.ui-in',] },],
    "isOut": [{ type: HostBinding, args: ['class.ui-out',] },],
    "transform": [{ type: HostBinding, args: ['style.transform',] }, { type: HostBinding, args: ['style.webkitTransform',] },],
};
function SlideItemComponent_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    SlideItemComponent.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    SlideItemComponent.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    SlideItemComponent.propDecorators;
    /** @type {?} */
    SlideItemComponent.prototype.state;
    /** @type {?} */
    SlideItemComponent.prototype.animateProgress;
}

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