/**
 * @fileoverview added by tsickle
 * Generated from: lib/shared/components/filters/status/general-status.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Output, Input } from '@angular/core';
var GeneralStatusComponent = /** @class */ (function () {
    function GeneralStatusComponent() {
        this.callSearch = new EventEmitter();
    }
    /**
     * @param {?} data
     * @return {?}
     */
    GeneralStatusComponent.prototype.search = /**
     * @param {?} data
     * @return {?}
     */
    function (data) {
        if (data && data.detail) {
            this.callSearch.emit(data.detail.value);
        }
    };
    GeneralStatusComponent.decorators = [
        { type: Component, args: [{
                    selector: 'inc-general-status',
                    template: "<ion-item class=\"item-select\">\r\n  <ion-label position=\"floating\">{{'STATUS' | translate}}</ion-label>\r\n  <ion-select class=\"ion-text-capitalize\" interface=\"popover\" [value]=\"inList[0].value\" (ionChange)=\"search($event)\">\r\n    <ion-select-option *ngFor=\"let data of inList\" value=\"{{data.value}}\">\r\n      {{data.label | translate}}\r\n    </ion-select-option>\r\n  </ion-select>\r\n</ion-item>",
                    styles: [".order-btn{padding-right:20px}.item-select{height:56px;display:flex}::ng-deep ion-select-popover{background-color:#fff}::ng-deep ion-select-popover ion-item{--inner-border-width:0}"]
                }] }
    ];
    /** @nocollapse */
    GeneralStatusComponent.ctorParameters = function () { return []; };
    GeneralStatusComponent.propDecorators = {
        inList: [{ type: Input }],
        callSearch: [{ type: Output }]
    };
    return GeneralStatusComponent;
}());
export { GeneralStatusComponent };
if (false) {
    /** @type {?} */
    GeneralStatusComponent.prototype.inList;
    /** @type {?} */
    GeneralStatusComponent.prototype.callSearch;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhbC1zdGF0dXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGluY2xvdWRlZC9pb25pYzQtaW5jbG91ZGVkLWxpYi8iLCJzb3VyY2VzIjpbImxpYi9za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