/**
 * @fileoverview added by tsickle
 * Generated from: lib/fhir/group/add/group-add.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import * as tslib_1 from "tslib";
import { Component } from '@angular/core';
import { AbstractAddComponent } from '../../../shared/abstracts/add/abstract-add/abstract-add.component';
import { getGroupForm } from '../add-modal/group-add.component';
var GroupAddComponent = /** @class */ (function (_super) {
    tslib_1.__extends(GroupAddComponent, _super);
    function GroupAddComponent() {
        return _super.call(this) || this;
    }
    /**
     * @return {?}
     */
    GroupAddComponent.prototype.resetForm = /**
     * @return {?}
     */
    function () {
        return getGroupForm();
    };
    GroupAddComponent.decorators = [
        { type: Component, args: [{
                    selector: 'inc-group-add',
                    template: "<form [formGroup]=\"form\" (ngSubmit)=\"save(form.value)\">\r\n  <ion-grid class=\"ion-padding\">\r\n    <ion-row>\r\n      <ion-col size=\"12\">\r\n        <ion-item>\r\n          <ion-label position=\"floating\">\r\n            {{'NAME' | translate}}\r\n            <span class=\"required\">*</span>\r\n          </ion-label>\r\n          <ion-input id=\"group-name\" type=\"text\" autofocus=\"true\" formControlName=\"name\" clearInput>\r\n          </ion-input>\r\n        </ion-item>\r\n      </ion-col>\r\n    </ion-row>\r\n    \r\n    <ion-row class=\"ion-float-right ion-margin-bottom ion-margin-top\">\r\n      <ion-button fill=\"outline\" color=\"primary\" id=\"basic-data-reject-button\" *ngIf=\"inData\" (click)=\"discard()\"\r\n        class=\"ion-margin-end\">\r\n        <ion-icon slot=\"start\" name=\"close\"></ion-icon>{{'REJECT_BUTTON' | translate}}\r\n      </ion-button>\r\n      <ion-button fill=\"outline\" *ngIf=\"!inData\" color=\"primary\" id=\"basic-data-reset-button\" (click)=\"reset()\"\r\n        class=\"ion-margin-end\">\r\n        <ion-icon slot=\"start\" name=\"refresh\"></ion-icon>{{'AGAIN_BUTTON' | translate}}\r\n      </ion-button>\r\n      <ion-button id=\"basic-data-save-button\" type=\"submit\" [disabled]=\"form.invalid\">\r\n        <ion-icon slot=\"start\" name=\"save\"></ion-icon>{{'SAVE_BUTTON' | translate}}\r\n      </ion-button>\r\n    </ion-row>\r\n  </ion-grid>\r\n</form>",
                    styles: [""]
                }] }
    ];
    /** @nocollapse */
    GroupAddComponent.ctorParameters = function () { return []; };
    return GroupAddComponent;
}(AbstractAddComponent));
export { GroupAddComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtYWRkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZWQvaW9uaWM0LWluY2xvdWRlZC1saWIvIiwic291cmNlcyI6WyJsaWIvZmhpci9ncm91cC9hZGQvZ3JvdXAtYWRkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG1FQUFtRSxDQUFDO0FBQ3pHLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUVoRTtJQUt1Qyw2Q0FBNEI7SUFDakU7ZUFDRSxpQkFBTztJQUNULENBQUM7Ozs7SUFFRCxxQ0FBUzs7O0lBQVQ7UUFDRSxPQUFPLFlBQVksRUFBRSxDQUFDO0lBQ3hCLENBQUM7O2dCQVpGLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsZUFBZTtvQkFDekIsKzVDQUF5Qzs7aUJBRTFDOzs7O0lBU0Qsd0JBQUM7Q0FBQSxBQWJELENBS3VDLG9CQUFvQixHQVExRDtTQVJZLGlCQUFpQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBGb3JtR3JvdXAgfS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