/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
import { AttributeBase } from '../attribute-base';
import { FormGroup } from '@angular/forms';
var AttributeFormComponent = /** @class */ (function () {
    function AttributeFormComponent() {
    }
    /**
     * @return {?}
     */
    AttributeFormComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    AttributeFormComponent.decorators = [
        { type: Component, args: [{
                    selector: 'dk-app-attribute-form',
                    template: "<div class=\"form-group row\" [formGroup]=\"formGroup\">\n  <label class=\"col-4 col-form-label form-control-sm text-right\" [attr.for]=\"attributeControl.key\">\n    {{attributeControl.label}}<strong *ngIf=\"attributeControl.primaryKey\" class=\"primaryKey\">*</strong>:\n  </label>\n\n  <dk-app-attribute class=\"col-8\" [attributeControl]=\"attributeControl\" [formGroup]=\"formGroup\"\n                 [readonly]=\"readonly\">\n  </dk-app-attribute>\n\n</div>\n",
                    styles: [".primaryKey{color:red}"]
                }] }
    ];
    /** @nocollapse */
    AttributeFormComponent.ctorParameters = function () { return []; };
    AttributeFormComponent.propDecorators = {
        attributeControl: [{ type: Input }],
        formGroup: [{ type: Input }],
        readonly: [{ type: Input }]
    };
    return AttributeFormComponent;
}());
export { AttributeFormComponent };
if (false) {
    /** @type {?} */
    AttributeFormComponent.prototype.attributeControl;
    /** @type {?} */
    AttributeFormComponent.prototype.formGroup;
    /** @type {?} */
    AttributeFormComponent.prototype.readonly;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vam9yLWFuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvYXR0cmlidXRlL2F0dHJpYnV0ZS1mb3JtL2F0dHJpYnV0ZS1mb3JtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbm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