/**
 * @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 { Component } from '@angular/core';
import { AbstractAddComponent } from '../../../shared/abstracts/add/abstract-add/abstract-add.component';
import { getGroupForm } from '../add-modal/group-add.component';
export class GroupAddComponent extends AbstractAddComponent {
    constructor() {
        super();
    }
    /**
     * @return {?}
     */
    resetForm() {
        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 = () => [];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtYWRkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZWQvaW9uaWM0LWluY2xvdWRlZC1saWIvIiwic291cmNlcyI6WyJsaWIvZmhpci9ncm91cC9hZGQvZ3JvdXAtYWRkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sbUVBQW1FLENBQUM7QUFDekcsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBT2hFLE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxvQkFBNEI7SUFDakU7UUFDRSxLQUFLLEVBQUUsQ0FBQztJQUNWLENBQUM7Ozs7SUFFRCxTQUFTO1FBQ1AsT0FBTyxZQUFZLEVBQUUsQ0FBQztJQUN4QixDQUFDOzs7WUFaRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLGVBQWU7Z0JBQ3pCLCs1Q0FBeUM7O2FBRTFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IEZvcm1Hcm91cCB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcclxuaW1wb3J0IHsgSUdyb3VwIH0gZnJvbSAnQGFocnltYW40MGsvdHMtZmhpci10eXBlcy9saWIvUjQnO1xyXG5pbXBvcnQgeyBBYnN0cmFjdEFkZENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uL3NoYXJlZC9hYnN0cm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