"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1 = require("@angular/core");
var componentsDefaultTheme_1 = require("../../componentsDefaultTheme");
var radioGroup_1 = require("./radioGroup");
var RadioComponent = (function () {
    function RadioComponent(defaultTheme, radioGroup) {
        this.radioGroup = radioGroup;
        this.useDefaultTheme = defaultTheme.useDefaultTheme;
    }
    return RadioComponent;
}());
__decorate([
    core_1.Input(),
    __metadata("design:type", String)
], RadioComponent.prototype, "label", void 0);
__decorate([
    core_1.Input(),
    __metadata("design:type", Object)
], RadioComponent.prototype, "option", void 0);
RadioComponent = __decorate([
    core_1.Component({
        selector: 'rlRadio',
        template: require('./radio.html'),
    }),
    __metadata("design:paramtypes", [componentsDefaultTheme_1.DefaultTheme,
        radioGroup_1.RadioGroupComponent])
], RadioComponent);
exports.RadioComponent = RadioComponent;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyYWRpby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsc0NBQWlEO0FBRWpELHVFQUE0RDtBQUU1RCwyQ0FBbUQ7QUFNbkQsSUFBYSxjQUFjO0lBTzFCLHdCQUFZLFlBQTBCLEVBQ2xDLFVBQWtDO1FBQ3JDLElBQUksQ0FBQyxVQUFVLEdBQUcsVUFBVSxDQUFDO1FBQzdCLElBQUksQ0FBQyxlQUFlLEdBQUcsWUFBWSxDQUFDLGVBQWUsQ0FBQztJQUNyRCxDQUFDO0lBQ0YscUJBQUM7QUFBRCxDQUFDLEFBWkQsSUFZQztBQVhTO0lBQVIsWUFBSyxFQUFFOzs2Q0FBZTtBQUNkO0lBQVIsWUFBSyxFQUFFOzs4Q0FBVztBQUZQLGNBQWM7SUFKMUIsZ0JBQVMsQ0FBQztRQUNWLFFBQVEsRUFBRSxTQUFTO1FBQ25CLFFBQVEsRUFBRSxPQUFPLENBQUMsY0FBYyxDQUFDO0tBQ2pDLENBQUM7cUNBUXlCLHFDQUFZO1FBQ3RCLGdDQUFtQjtHQVJ2QixjQUFjLENBWTFCO0FBWlksd0NBQWMifQ==