import { ChangeDetectionStrategy, Component } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import * as i0 from "@angular/core";
import * as i1 from "../../services/questionnaire/validation.service";
function DependentGridComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "tr")(1, "th");
    i0.ɵɵtext(2);
    i0.ɵɵpipe(3, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(4, "th");
    i0.ɵɵtext(5);
    i0.ɵɵpipe(6, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(7, "th");
    i0.ɵɵtext(8);
    i0.ɵɵpipe(9, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelement(10, "th");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "dependent.grid.header.dependent"), " ");
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, "dependent.grid.header.ssn"), " ");
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 7, "dependent.grid.header.relationship"), " ");
} }
function DependentGridComponent_ng_template_4_app_ssn_14_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "app-ssn", 19);
} if (rf & 2) {
    const dependent_r7 = i0.ɵɵnextContext().$implicit;
    i0.ɵɵproperty("ssn", dependent_r7.dependentSSN);
} }
function DependentGridComponent_ng_template_4_span_15_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "span");
    i0.ɵɵtext(1, "--");
    i0.ɵɵelementEnd();
} }
const _c0 = () => ["fal", "edit"];
const _c1 = () => ["fal", "trash-alt"];
function DependentGridComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
    const _r13 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "tr", 12)(1, "td")(2, "span", 13);
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(5);
    i0.ɵɵelement(6, "br");
    i0.ɵɵelementStart(7, "span", 14);
    i0.ɵɵtext(8);
    i0.ɵɵpipe(9, "date");
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(10, "td")(11, "span", 13);
    i0.ɵɵtext(12);
    i0.ɵɵpipe(13, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵtemplate(14, DependentGridComponent_ng_template_4_app_ssn_14_Template, 1, 1, "app-ssn", 15)(15, DependentGridComponent_ng_template_4_span_15_Template, 2, 0, "span", 16);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(16, "td")(17, "span", 13);
    i0.ɵɵtext(18);
    i0.ɵɵpipe(19, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵtext(20);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(21, "td")(22, "ion-button", 17);
    i0.ɵɵlistener("click", function DependentGridComponent_ng_template_4_Template_ion_button_click_22_listener() { const restoredCtx = i0.ɵɵrestoreView(_r13); const dependent_r7 = restoredCtx.$implicit; const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.editDependent(dependent_r7)); });
    i0.ɵɵelement(23, "fa-icon", 18);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(24, "ion-button", 17);
    i0.ɵɵlistener("click", function DependentGridComponent_ng_template_4_Template_ion_button_click_24_listener() { const restoredCtx = i0.ɵɵrestoreView(_r13); const dependent_r7 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.deleteDependent(dependent_r7)); });
    i0.ɵɵelement(25, "fa-icon", 18);
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    const dependent_r7 = ctx.$implicit;
    const rowIndex_r8 = ctx.rowIndex;
    i0.ɵɵproperty("ngClass", dependent_r7.markForDeletion ? "strikethrough" : null);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 14, "dependent.grid.header.dependent"));
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate2(" ", dependent_r7.dependentFirstName, " ", dependent_r7.dependentLastName, " ");
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, dependent_r7.dependentDateOfBirth, "MMMM d, y"));
    i0.ɵɵadvance(4);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "dependent.grid.header.ssn"));
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", dependent_r7.dependentSSN && dependent_r7.isSsnAvailable == "Y");
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", !dependent_r7.dependentSSN && dependent_r7.isSsnAvailable == "N");
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 21, "dependent.grid.header.relationship"));
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate1(" ", dependent_r7.relationship == null ? null : dependent_r7.relationship.text, " ");
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("id", "btnDependentEdit-" + rowIndex_r8);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(23, _c0));
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("id", "btnDependentDelete-" + rowIndex_r8);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(24, _c1));
} }
const _c2 = () => ["fal", "plus"];
function DependentGridComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
    const _r17 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "table")(1, "tr")(2, "td", 20);
    i0.ɵɵelement(3, "div", 21);
    i0.ɵɵpipe(4, "trustHtml");
    i0.ɵɵpipe(5, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(6, "td", 22)(7, "ion-button", 23);
    i0.ɵɵlistener("click", function DependentGridComponent_ng_template_5_Template_ion_button_click_7_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.showAddDependentPopup = !ctx_r16.showAddDependentPopup); });
    i0.ɵɵelement(8, "fa-icon", 18);
    i0.ɵɵelementEnd()();
    i0.ɵɵelementStart(9, "td", 24);
    i0.ɵɵtext(10, "\u00A0");
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    i0.ɵɵadvance(2);
    i0.ɵɵattribute("colspan", 2);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind1(4, 4, i0.ɵɵpipeBind1(5, 6, "dependent.grid.footer.label")), i0.ɵɵsanitizeHtml);
    i0.ɵɵadvance(4);
    i0.ɵɵproperty("id", "btnAddDependent");
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(8, _c2));
} }
function DependentGridComponent_app_multi_questionnaire_10_Template(rf, ctx) { if (rf & 1) {
    const _r19 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "app-multi-questionnaire", 25);
    i0.ɵɵlistener("onComplete", function DependentGridComponent_app_multi_questionnaire_10_Template_app_multi_questionnaire_onComplete_0_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.addDependent($event)); })("modelCancel", function DependentGridComponent_app_multi_questionnaire_10_Template_app_multi_questionnaire_modelCancel_0_listener() { i0.ɵɵrestoreView(_r19); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.close()); });
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    i0.ɵɵproperty("qeQueryModels", ctx_r4.qeQueryModels)("autoSave", false)("formData", ctx_r4.selectedDependent);
} }
function DependentGridComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
    const _r22 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "ion-button", 26);
    i0.ɵɵlistener("click", function DependentGridComponent_ng_template_16_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r21.close()); });
    i0.ɵɵtext(1, " Close ");
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(2, "ion-button", 27);
    i0.ɵɵlistener("click", function DependentGridComponent_ng_template_16_Template_ion_button_click_2_listener() { i0.ɵɵrestoreView(_r22); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.editDuplicateDependent()); });
    i0.ɵɵtext(3, " Edit ");
    i0.ɵɵelementEnd();
} }
const _c3 = () => ({ width: "45vw" });
const _c4 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
export class DependentGridComponent {
    constructor(vs) {
        this.vs = vs;
        this.indexToEdit = null;
        this.dependents = [];
        this.showAddDependentPopup = false;
        this.showDuplicatePopup = false;
        this.qeQueryModels = [
            {
                flowFactFindingInq: false, flowAbleAndAvailable: false, userType: "CLMT", flowFrom: "CMIN", questionnaireIds: [339],
                flowWCAbleAndAvailable: false, flowKey: "add-dependents", isMfaRequired: false, isScreenQuestionnaire: true
            }
        ];
        this.onChange = (value) => {
        };
        this.onTouch = () => {
        };
        this.onChangeSubs = [];
    }
    ngOnDestroy() {
        for (let sub of this.onChangeSubs) {
            sub.unsubscribe();
        }
    }
    writeValue(deps) {
        if (deps && deps.dependents) {
            this.dependents = deps.dependents;
            this.publishDependents();
        }
    }
    registerOnChange(fn) {
        let sub = this.vs.dependents.subscribe(fn);
        this.onChangeSubs.push(sub);
    }
    registerOnTouched(fn) {
        this.onTouch = fn;
    }
    setDisabledState(isDisabled) {
    }
    ngOnInit() {
        let deps = this.vs.dependents.getValue() || [];
        if (deps && deps.dependents) {
            this.dependents = deps.dependents;
        }
    }
    addDependent(event) {
        let dependent = event.get(this.qeQueryModels[0].questionnaireIds[0]);
        if (this.checkForDuplicate(dependent)) {
            this.selectedDependent = dependent;
            this.showAddDependentPopup = false;
            this.showDuplicatePopup = true;
            return;
        }
        if (this.indexToEdit != null) {
            this.dependents[this.indexToEdit] = dependent;
        }
        else {
            this.dependents.push(dependent);
        }
        this.showAddDependentPopup = false;
        this.selectedDependent = null;
        this.indexToEdit = null;
        this.publishDependents();
    }
    publishDependents() {
        let dependents = { dependents: this.dependents };
        this.vs.dependents.next(this.dependents.length > 0 ? dependents : null);
    }
    editDependent(dependent) {
        this.selectedDependent = dependent;
        this.indexToEdit = this.dependents.indexOf(dependent);
        this.showAddDependentPopup = true;
    }
    editDuplicateDependent() {
        this.showDuplicatePopup = false;
        this.showAddDependentPopup = true;
    }
    deleteDependent(dependent) {
        let index = this.dependents.indexOf(dependent);
        if (dependent.dependentId) {
            dependent.markForDeletion = true;
            this.dependents[index] = dependent;
        }
        else {
            this.dependents.splice(index, 1);
        }
        this.publishDependents();
    }
    close() {
        this.showAddDependentPopup = false;
        this.indexToEdit = null;
        this.selectedDependent = null;
        this.showDuplicatePopup = false;
    }
    checkForDuplicate(dependent) {
        if (this.dependents) {
            let dependents = this.dependents.filter(d => {
                if (this.indexToEdit == this.dependents.indexOf(d)) {
                    return false;
                }
                let result = (dependent.dependentSSN && d.dependentSSN && dependent.dependentSSN.replace(/-/g, '') === d.dependentSSN)
                    ||
                        (dependent.dependentDateOfBirth === d.dependentDateOfBirth &&
                            dependent.dependentFirstName === d.dependentFirstName &&
                            dependent.dependentLastName === d.dependentLastName);
                return result;
            });
            return dependents.length > 0;
        }
        else {
            return false;
        }
    }
    static { this.ɵfac = function DependentGridComponent_Factory(t) { return new (t || DependentGridComponent)(i0.ɵɵdirectiveInject(i1.ValidationService)); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DependentGridComponent, selectors: [["app-dependent-grid"]], features: [i0.ɵɵProvidersFeature([{
                    provide: NG_VALUE_ACCESSOR,
                    useExisting: DependentGridComponent,
                    multi: true
                }])], decls: 17, vars: 16, consts: [[2, "margin-left", "-5px"], ["styleClass", "p-datatable-striped app-datatable ion-padding-top", 3, "rowHover", "value"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "summary"], [1, "ion-text-center", "ion-hide-xl-up", "ion-hide-lg-up", "ion-hide-md-up"], ["shape", "round", "color", "success", "fill", "outline", 3, "click"], [3, "qeQueryModels", "autoSave", "formData", "onComplete", "modelCancel", 4, "ngIf"], ["appendTo", "body", "position", "top", "appendTo", "body", "closeOnEscape", "false", 3, "visible", "modal", "breakpoints", "baseZIndex", "draggable", "resizable"], [1, "heading"], ["pTemplate", "footer"], [1, "ion-padding-top", "ion-padding-bottom", 3, "ngClass"], [1, "p-column-title"], [2, "font-size", "12px"], [3, "ssn", 4, "ngIf"], [4, "ngIf"], ["fill", "outline", "size", "small", 1, "action-button", 3, "id", "click"], [1, "action-icon", 3, "icon"], [3, "ssn"], [2, "width", "40%"], [3, "innerHtml"], [2, "width", "9.75%", "text-align", "right"], ["fill", "outline", "size", "small", "aria-label", "Add employer", 1, "action-button", 3, "id", "click"], ["colspan", "4"], [3, "qeQueryModels", "autoSave", "formData", "onComplete", "modelCancel"], ["shape", "round", "size", "small", "type", "submit", "fill", "outline", 3, "click"], ["shape", "round", "size", "small", "type", "submit", "fill", "solid", 3, "click"]], template: function DependentGridComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "div", 0)(1, "p-table", 1, 2);
            i0.ɵɵtemplate(3, DependentGridComponent_ng_template_3_Template, 11, 9, "ng-template", 3)(4, DependentGridComponent_ng_template_4_Template, 26, 25, "ng-template", 4)(5, DependentGridComponent_ng_template_5_Template, 11, 9, "ng-template", 5);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(6, "div", 6)(7, "ion-button", 7);
            i0.ɵɵlistener("click", function DependentGridComponent_Template_ion_button_click_7_listener() { return ctx.showAddDependentPopup = !ctx.showAddDependentPopup; });
            i0.ɵɵtext(8);
            i0.ɵɵpipe(9, "translate");
            i0.ɵɵelementEnd()();
            i0.ɵɵtemplate(10, DependentGridComponent_app_multi_questionnaire_10_Template, 1, 3, "app-multi-questionnaire", 8);
            i0.ɵɵelementStart(11, "p-dialog", 9)(12, "h4", 10);
            i0.ɵɵtext(13, "Duplicate dependent not allowed");
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(14, "ion-label");
            i0.ɵɵtext(15, "It seems like you have added a dependent that has been added already. Please check details and try adding dependent again.");
            i0.ɵɵelementEnd();
            i0.ɵɵtemplate(16, DependentGridComponent_ng_template_16_Template, 4, 0, "ng-template", 11);
            i0.ɵɵelementEnd()();
        } if (rf & 2) {
            i0.ɵɵadvance(1);
            i0.ɵɵproperty("rowHover", true)("value", ctx.dependents);
            i0.ɵɵadvance(7);
            i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 12, "dependent.grid.header.add"), " ");
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("ngIf", ctx.showAddDependentPopup);
            i0.ɵɵadvance(1);
            i0.ɵɵstyleMap(i0.ɵɵpureFunction0(14, _c3));
            i0.ɵɵproperty("visible", ctx.showDuplicatePopup)("modal", true)("breakpoints", i0.ɵɵpureFunction0(15, _c4))("baseZIndex", 5000)("draggable", false)("resizable", false);
        } }, styles: [".strikethrough[_ngcontent-%COMP%]{text-decoration:line-through}"] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DependentGridComponent, [{
        type: Component,
        args: [{ selector: 'app-dependent-grid', providers: [{
                        provide: NG_VALUE_ACCESSOR,
                        useExisting: DependentGridComponent,
                        multi: true
                    }], changeDetection: ChangeDetectionStrategy.Default, template: "<div style=\"margin-left: -5px;\">\r\n    <p-table #dt [rowHover]=\"true\" styleClass=\"p-datatable-striped app-datatable ion-padding-top\" [value]=\"dependents\">\r\n        <ng-template pTemplate=\"header\" let-columns>\r\n            <tr>\r\n                <th>\r\n                    {{\"dependent.grid.header.dependent\"|translate}}\r\n                </th>\r\n                <th>\r\n                    {{\"dependent.grid.header.ssn\"|translate}}\r\n                </th>\r\n                <th>\r\n                    {{\"dependent.grid.header.relationship\"|translate}}\r\n                </th>\r\n                <th>\r\n                    \r\n                </th>\r\n            </tr>\r\n        </ng-template>\r\n\r\n        <ng-template pTemplate=\"body\" let-dependent let-rowIndex=\"rowIndex\">\r\n            <tr class=\"ion-padding-top ion-padding-bottom\" [ngClass]=\"dependent.markForDeletion ? 'strikethrough' : null\">\r\n                <td>\r\n                    <span class=\"p-column-title\">{{\"dependent.grid.header.dependent\"|translate}}</span>\r\n                    {{dependent.dependentFirstName}} {{dependent.dependentLastName}} <br/>\r\n                    <span style=\"font-size: 12px;\">{{dependent.dependentDateOfBirth | date:'MMMM d, y'}}</span>\r\n                </td>\r\n                <td>\r\n                    <span class=\"p-column-title\">{{\"dependent.grid.header.ssn\"|translate}}</span>\r\n                    <app-ssn [ssn]=\"dependent.dependentSSN\" *ngIf=\"dependent.dependentSSN && dependent.isSsnAvailable == 'Y'\"></app-ssn>\r\n                    <span *ngIf=\"!dependent.dependentSSN && dependent.isSsnAvailable == 'N'\">--</span>\r\n                </td>\r\n                <td>\r\n                    <span class=\"p-column-title\">{{\"dependent.grid.header.relationship\"|translate}}</span>\r\n                    {{dependent.relationship?.text}}\r\n                </td>\r\n                <td>\r\n                    <ion-button [id]=\"'btnDependentEdit-' + rowIndex\" fill=\"outline\" size=\"small\" class=\"action-button\" (click)=\"editDependent(dependent)\">\r\n                        <fa-icon [icon]=\"['fal', 'edit']\" class=\"action-icon\"></fa-icon>\r\n                    </ion-button>\r\n                    <ion-button [id]=\"'btnDependentDelete-' + rowIndex\" fill=\"outline\" size=\"small\" class=\"action-button\" (click)=\"deleteDependent(dependent)\">\r\n                        <fa-icon [icon]=\"['fal', 'trash-alt']\" class=\"action-icon\"></fa-icon>\r\n                    </ion-button>\r\n                </td>\r\n            </tr>\r\n        </ng-template>\r\n\r\n        <ng-template pTemplate=\"summary\" let-columns>\r\n            <table>\r\n              <tr>\r\n                <td [attr.colspan]=\"2\" style=\"width: 40%;\">\r\n                  <div [innerHtml]=\"'dependent.grid.footer.label' | translate | trustHtml\"></div>\r\n                </td>\r\n                <td style=\"width: 9.75%; text-align: right;\">\r\n                  <ion-button fill=\"outline\" size=\"small\" class=\"action-button\" (click)=\"showAddDependentPopup = !showAddDependentPopup\" class=\"action-button\" aria-label=\"Add employer\" [id]=\"'btnAddDependent'\">\r\n                    <fa-icon [icon]=\"['fal', 'plus']\" class=\"action-icon\"></fa-icon>\r\n                  </ion-button>\r\n                </td>\r\n                <td colspan=\"4\">&nbsp;</td>\r\n              </tr>\r\n            </table>\r\n          </ng-template>\r\n\r\n    </p-table>\r\n\r\n    <div class=\"ion-text-center ion-hide-xl-up ion-hide-lg-up ion-hide-md-up\">\r\n        <ion-button shape=\"round\" color=\"success\" fill=\"outline\"\r\n            (click)=\"showAddDependentPopup = !showAddDependentPopup\">\r\n            {{\"dependent.grid.header.add\"|translate}}\r\n        </ion-button>\r\n    </div>\r\n\r\n    <app-multi-questionnaire [qeQueryModels]=\"qeQueryModels\" [autoSave]=\"false\" *ngIf=\"showAddDependentPopup\"\r\n        (onComplete)=\"addDependent($event)\" (modelCancel)=\"close()\" [formData]=\"selectedDependent\">\r\n    </app-multi-questionnaire>\r\n\r\n    <p-dialog [visible]=\"showDuplicatePopup\" [modal]=\"true\" appendTo=\"body\" position=\"top\" [breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\" [style]=\"{width: '45vw'}\"\r\n    [baseZIndex]=\"5000\" [draggable]=\"false\" [resizable]=\"false\" appendTo=\"body\" closeOnEscape=\"false\">\r\n        <h4 class=\"heading\">Duplicate dependent not allowed</h4>\r\n        <ion-label>It seems like you have added a dependent that has been added already. Please check details and try adding dependent again.</ion-label>\r\n        <ng-template pTemplate=\"footer\">\r\n            <ion-button shape=\"round\" size=\"small\" type=\"submit\" fill=\"outline\" (click)=\"close()\">\r\n                Close\r\n            </ion-button>\r\n            <ion-button shape=\"round\" size=\"small\" type=\"submit\" fill=\"solid\" (click)=\"editDuplicateDependent()\">\r\n                Edit\r\n            </ion-button>\r\n        </ng-template>\r\n    </p-dialog>\r\n</div>", styles: [".strikethrough{text-decoration:line-through}\n"] }]
    }], () => [{ type: i1.ValidationService }], null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DependentGridComponent, { className: "DependentGridComponent", filePath: "lib\\components\\dependent-grid\\dependent-grid.component.ts", lineNumber: 22 }); })();
//# sourceMappingURL=data:application/json;base64, 