import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
import { TableService } from '@ironsource/fusion-ui/components/table/common/services';
import { isNullOrUndefined } from '@ironsource/fusion-ui/utils';
import { of } from 'rxjs';
import * as i0 from "@angular/core";
import * as i1 from "@ironsource/fusion-ui/components/table/common/services";
import * as i2 from "@angular/common";
import * as i3 from "@ironsource/fusion-ui/components/icon/v1";
import * as i4 from "@ironsource/fusion-ui/components/tooltip/v2";
import * as i5 from "../table-cell/table-cell.component";
const _c0 = ["fusionTableRow", ""];
function TableRowComponent_ng_container_0_fusion_icon_2_Template(rf, ctx) { if (rf & 1) {
    const _r6 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "fusion-icon", 4);
    i0.ɵɵlistener("click", function TableRowComponent_ng_container_0_fusion_icon_2_Template_fusion_icon_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.expandRow.emit({ rowIndex: ctx_r5.rowIndex, row: ctx_r5.row, isExpanded: !ctx_r5.isExpanded })); });
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("name", ctx_r4.expandArrowIconName);
} }
function TableRowComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵelementStart(1, "td", 2);
    i0.ɵɵtemplate(2, TableRowComponent_ng_container_0_fusion_icon_2_Template, 1, 1, "fusion-icon", 3);
    i0.ɵɵelementEnd();
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    const isLast_r3 = ctx.last;
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵclassProp("total-row", ctx_r0.isRowTotal)("expanded", ctx_r0.isExpanded)("inner-row", ctx_r0.isInnerRow)("sticky-left", ctx_r0.options == null ? null : ctx_r0.options.rowsExpandableOptions == null ? null : ctx_r0.options.rowsExpandableOptions.sticky);
    i0.ɵɵadvance();
    i0.ɵɵproperty("ngIf", isLast_r3 && ctx_r0.showExpandIcon());
} }
const _c1 = (a0, a1) => ({ x: a0, y: a1 });
function TableRowComponent_td_2_Template(rf, ctx) { if (rf & 1) {
    const _r11 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "td", 5);
    i0.ɵɵlistener("remove", function TableRowComponent_td_2_Template_td_remove_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.rowRemoved.emit()); })("selectedChange", function TableRowComponent_td_2_Template_td_selectedChange_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.selectedChange.emit($event)); })("dataChange", function TableRowComponent_td_2_Template_td_dataChange_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r11); const column_r7 = restoredCtx.$implicit; const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.onDataChange($event, column_r7.key)); });
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const column_r7 = ctx.$implicit;
    const columnIndex_r8 = ctx.index;
    const isLast_r9 = ctx.last;
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵstyleProp("width", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].width);
    i0.ɵɵclassProp("cell-tooltip", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].hasTooltip)("after-sticky", ctx_r1.hasAfterSticky)("inner-row", ctx_r1.isInnerRow);
    i0.ɵɵproperty("fusionTooltip", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].tooltip)("data", ctx_r1.row[column_r7.key])("row", ctx_r1.row)("column", column_r7)("options", ctx_r1.options)("position", i0.ɵɵpureFunction2(23, _c1, ctx_r1.rowIndex, columnIndex_r8))("isRemove", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].isRemove)("infoIconTooltip", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].infoIconOnHoverTooltip)("isRowSelected", ctx_r1.isRowSelected)("isLastColumn", isLast_r9)("isReadOnly", ctx_r1.isRowReadOnly)("customClass", ctx_r1.row["customClass"])("ngClass", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].classes)("ngStyle", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].styles);
    i0.ɵɵattribute("colspan", ctx_r1.columnsData[columnIndex_r8] == null ? null : ctx_r1.columnsData[columnIndex_r8].colspan);
} }
export class TableRowComponent {
    get isRowInRequest() {
        return this.inRequest;
    }
    get isRowExpanded() {
        return this.isExpanded;
    }
    get isInnerRowExpandable() {
        return (this.options &&
            this.options.rowsExpandableOptions &&
            this.tableService.expandLevels &&
            this.tableService.getExpandLevelByRowIndex(this.rowIndex) <= this.tableService.expandLevels);
    }
    get isRowTotal() {
        return !isNullOrUndefined(this.options.hasTotalsRow) && this.options.hasTotalsRow && this.rowIndex === 0;
    }
    get isRowReadOnly() {
        return this.tableService.isRowReadOnly(this.row);
    }
    get expandCellCount() {
        if (!!this.options && !!this.options.rowsExpandableOptions && !!this.tableService.expandLevels) {
            const expandLevelsByIndex = this.tableService.getExpandLevelByRowIndex(this.rowIndex);
            const expandLevels = expandLevelsByIndex <= this.tableService.expandLevels ? expandLevelsByIndex : this.tableService.expandLevels;
            return of([...Array(expandLevels).keys()]);
        }
        return of([]);
    }
    hasTooltip(key, row) {
        return !isNullOrUndefined(this.getCellTooltip(key, row));
    }
    getCellTooltip(key, row) {
        // eslint-disable-next-line
        const rowMetaData = row['rowMetaData'];
        return !!rowMetaData && !!rowMetaData.cellToolTip ? rowMetaData.cellToolTip[key] : null;
    }
    infoIconOnHooverToolTip(options, row) {
        return options?.infoIconForRowOnHover ? options?.infoIconForRowOnHover(row) : '';
    }
    rowRemoveIconOptions(options, row) {
        return {
            hideRemoveIcon: options?.remove && options?.isRemoveIconHiddenForRow && options?.isRemoveIconHiddenForRow(row)
        };
    }
    constructor(tableService, cdRef) {
        this.tableService = tableService;
        this.cdRef = cdRef;
        this.rowRemoved = new EventEmitter();
        this.selectedChange = new EventEmitter();
        this.expandRow = new EventEmitter();
        this.inRequest = false;
        this.columnsData = [];
    }
    ngOnInit() {
        this.dataRowIndex = this.rowIndex;
        this.expandArrowIconName = { iconName: 'arrow-right', iconVersion: 'v2' };
        if (this.isRowTotal) {
            Object.assign(this.row, { isRowTotal: true });
        }
    }
    ngOnChanges({ options, columns, row }) {
        const activeOptions = options?.currentValue || this.options;
        const activeColumns = columns?.currentValue || this.columns;
        const activeRow = row?.currentValue || this.row;
        if (options?.currentValue || columns?.currentValue || row?.currentValue) {
            this.columnsData = this.getColumnsData(activeColumns, activeOptions, activeRow);
        }
    }
    onDataChange(options, rowKey) {
        this.inRequest = true;
        this.tableService.rowModelChange.emit({
            rowIndex: this.rowIndex,
            rowModel: this.row,
            keyChanged: rowKey,
            newValue: options.newValue,
            prevValue: options.prevValue,
            onRequestDone: (state, error, stayInEditOnCancel = false) => {
                this.inRequest = false;
                if (options.onCellRequestDone) {
                    options.onCellRequestDone(state, error, stayInEditOnCancel);
                }
                this.cdRef.markForCheck();
            }
        });
    }
    trackByFn(index, item) {
        if (!item) {
            return null;
        }
        return item.key ? item.key : index;
    }
    showExpandIcon() {
        const hasKeyToIgnore = this.options && this.options.rowsExpandableOptions && this.options.rowsExpandableOptions.keyToIgnore;
        if (!hasKeyToIgnore) {
            return this.isInnerRow ? this.isInnerRowExpandable : !this.isRowTotal;
        }
        return !this.isRowTotal && !this.row[this.options.rowsExpandableOptions.keyToIgnore] && this.isInnerRowExpandable;
    }
    getCellColspan(isFirstDataCell, cellColspan, expandLevel) {
        if (isFirstDataCell && expandLevel) {
            if (this.isInnerRow) {
                const colspan = !isNullOrUndefined(cellColspan) ? cellColspan : 0;
                return colspan + (expandLevel + 1 - this.tableService.getExpandLevelByRowIndex(this.rowIndex));
            }
            return expandLevel + 1 - this.tableService.getExpandLevelByRowIndex(this.rowIndex);
        }
        return cellColspan;
    }
    getColumnsData(columns, options, row) {
        return columns.map((column, index) => {
            const isLast = index === columns.length - 1;
            const isFirst = index === 0;
            return {
                classes: this.tableService.getColumnClasses(column),
                tooltip: this.getCellTooltip(column.key, row),
                hasTooltip: this.hasTooltip(column.key, row),
                isRemove: this.tableService.isRemove(isLast, options, this.rowRemoveIconOptions(options, row)),
                infoIconOnHoverTooltip: isLast ? this.infoIconOnHooverToolTip(options, row) : '',
                styles: this.tableService.getColumnStyle(column),
                colspan: this.getCellColspan(isFirst, column.colspan, this.tableService.expandLevels),
                width: this.tableService.setWidth(isLast, column.width)
            };
        });
    }
    static { this.ɵfac = function TableRowComponent_Factory(t) { return new (t || TableRowComponent)(i0.ɵɵdirectiveInject(i1.TableService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableRowComponent, selectors: [["", "fusionTableRow", ""]], hostVars: 11, hostBindings: function TableRowComponent_HostBindings(rf, ctx) { if (rf & 2) {
            i0.ɵɵattribute("data-row-idx", ctx.dataRowIndex);
            i0.ɵɵclassProp("is-row-in-request", ctx.isRowInRequest)("is-row-expanded", ctx.isRowExpanded)("is-inner-row-expandable", ctx.isInnerRowExpandable)("is-with-totals", ctx.isRowTotal)("is-row-readonly", ctx.isRowReadOnly);
        } }, inputs: { rowIndex: "rowIndex", row: "row", options: "options", columns: "columns", isRemovableOnHover: "isRemovableOnHover", isRowSelected: "isRowSelected", isExpanded: "isExpanded", isInnerRow: "isInnerRow", hasAfterSticky: "hasAfterSticky" }, outputs: { rowRemoved: "rowRemoved", selectedChange: "selectedChange", expandRow: "expandRow" }, features: [i0.ɵɵNgOnChangesFeature], attrs: _c0, decls: 3, vars: 5, consts: [[4, "ngFor", "ngForOf"], ["fusionTableCell", "", 3, "fusionTooltip", "data", "row", "column", "options", "position", "isRemove", "infoIconTooltip", "isRowSelected", "isLastColumn", "isReadOnly", "customClass", "ngClass", "cell-tooltip", "after-sticky", "inner-row", "ngStyle", "width", "remove", "selectedChange", "dataChange", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "expand-cell"], ["class", "icon-expand", 3, "name", "click", 4, "ngIf"], [1, "icon-expand", 3, "name", "click"], ["fusionTableCell", "", 3, "fusionTooltip", "data", "row", "column", "options", "position", "isRemove", "infoIconTooltip", "isRowSelected", "isLastColumn", "isReadOnly", "customClass", "ngClass", "ngStyle", "remove", "selectedChange", "dataChange"]], template: function TableRowComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, TableRowComponent_ng_container_0_Template, 3, 9, "ng-container", 0);
            i0.ɵɵpipe(1, "async");
            i0.ɵɵtemplate(2, TableRowComponent_td_2_Template, 1, 26, "td", 1);
        } if (rf & 2) {
            i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(1, 3, ctx.expandCellCount));
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("ngForOf", ctx.columns)("ngForTrackBy", ctx.trackByFn);
        } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.IconComponent, i4.TooltipDirective, i5.TableCellComponent, i2.AsyncPipe], styles: [".on-scroll-right[_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll[_ngcontent-%COMP%]:after, .on-scroll-right   [_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll[_ngcontent-%COMP%]:after{content:\"\";position:absolute;top:0;height:100%}[_nghost-%COMP%]   td[_ngcontent-%COMP%]:not(:last-child){border-right:var(--table-body-border, none)}[_nghost-%COMP%]:nth-child(odd){background-color:var(--table-odd-row-background-color, var(--fu-white, #ffffff))}[_nghost-%COMP%]:nth-child(2n){background-color:var(--table-even-row-background-color, var(--fu-white, #ffffff))}[_nghost-%COMP%]:hover   td[_ngcontent-%COMP%]{background-color:var(--fu-light-100, #f7f8f9)}[_nghost-%COMP%]:hover   td.inner-row[_ngcontent-%COMP%], [_nghost-%COMP%]:hover   td.sticky-left[_ngcontent-%COMP%]{background-color:var(--fu-light-100, #f7f8f9)}.is-row-disabled[_nghost-%COMP%]   td[_ngcontent-%COMP%], .is-row-in-request[_nghost-%COMP%]   td[_ngcontent-%COMP%]{color:var(--fu-light-900, #7b838c);pointer-events:none}.is-row-disabled[_nghost-%COMP%]   td[_ngcontent-%COMP%]   fusion-icon[_ngcontent-%COMP%], .is-row-in-request[_nghost-%COMP%]   td[_ngcontent-%COMP%]   fusion-icon[_ngcontent-%COMP%]{opacity:.6}.is-row-selected[_nghost-%COMP%], .is-row-expanded[_nghost-%COMP%]{background-color:var(--fu-light-200, #f0f1f2)}[_nghost-%COMP%]   td.inner-row[_ngcontent-%COMP%]{background-color:#e5e7e966}[_nghost-%COMP%]   td.expand-cell[_ngcontent-%COMP%]{width:24px;text-align:center;border-top:1px solid var(--fu-light-300, #e5e7e9);border-bottom:1px solid var(--fu-light-300, #e5e7e9)}[_nghost-%COMP%]   td.expand-cell[_ngcontent-%COMP%]   fusion-icon[class^=icon-expand][_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]   td.expand-cell[_ngcontent-%COMP%]   fusion-icon[class^=icon-expand][_ngcontent-%COMP%]     svg{height:8px;width:5px}[_nghost-%COMP%]   td.expand-cell[_ngcontent-%COMP%]   fusion-icon[class^=icon-expand][_ngcontent-%COMP%]     svg *{fill:var(--fu-dark-200, #4c548e)}[_nghost-%COMP%]   td.expand-cell.expanded[_ngcontent-%COMP%]   fusion-icon[class^=icon-expand][_ngcontent-%COMP%]     svg{height:8px;width:5px;transform:rotate(90deg)}[_nghost-%COMP%]   td.expand-cell.expanded[_ngcontent-%COMP%]   fusion-icon[class^=icon-expand][_ngcontent-%COMP%]     svg *{fill:var(--fu-dark-200, #4c548e)}[_nghost-%COMP%]   td.expand-cell.inner-row[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   td.sticky-left[_ngcontent-%COMP%]{background-color:var(--fu-white, #ffffff);position:sticky;left:0;z-index:2}.is-with-totals[_nghost-%COMP%]:hover   td[_ngcontent-%COMP%]{background-color:var(--fu-white, #ffffff)}.is-inner-row-expandable[_nghost-%COMP%]   td.expand-cell.inner-row[_ngcontent-%COMP%]{border-top:1px solid var(--fu-light-300, #e5e7e9);border-bottom:1px solid var(--fu-light-300, #e5e7e9)}.is-inner-row-expandable[_nghost-%COMP%]   td.inner-row[_ngcontent-%COMP%]{background-color:var(--fu-light-200, #f0f1f2)}.is-inner-row-expandable[_nghost-%COMP%]:hover   td[_ngcontent-%COMP%]{background-color:var(--fu-light-100, #f7f8f9)}.on-scroll-right[_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll[_ngcontent-%COMP%]:after, .on-scroll-right   [_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll[_ngcontent-%COMP%]:after{width:1px;right:0;box-shadow:2px 3px 5px #0009}.on-scroll-right[_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll.after-sticky[_ngcontent-%COMP%]:before, .on-scroll-right   [_nghost-%COMP%]   .sticky-left.display-shadow-on-scroll.after-sticky[_ngcontent-%COMP%]:before{content:\"\";width:100%;height:26px;position:absolute;bottom:-27px;left:0;box-shadow:4px 3px 5px 0 var(--fu-light-500, #d2d5d8);background-color:var(--fu-light-100, #f7f8f9)}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableRowComponent, [{
        type: Component,
        args: [{ selector: '[fusionTableRow]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let expandCell of expandCellCount | async; let isLast = last\">\n    <td\n        class=\"expand-cell\"\n        [class.total-row]=\"isRowTotal\"\n        [class.expanded]=\"isExpanded\"\n        [class.inner-row]=\"isInnerRow\"\n        [class.sticky-left]=\"options?.rowsExpandableOptions?.sticky\"\n    >\n        <fusion-icon\n            *ngIf=\"isLast && showExpandIcon()\"\n            class=\"icon-expand\"\n            [name]=\"expandArrowIconName\"\n            (click)=\"expandRow.emit({rowIndex: rowIndex, row: row, isExpanded: !isExpanded})\"\n        >\n        </fusion-icon>\n    </td>\n</ng-container>\n\n<td\n    *ngFor=\"let column of columns; trackBy: trackByFn; let columnIndex = index; let isLast = last;\"\n    fusionTableCell\n    [fusionTooltip]=\"columnsData[columnIndex]?.tooltip\"\n    [data]=\"row[column.key]\"\n    [row]=\"row\"\n    [column]=\"column\"\n    [options]=\"options\"\n    [position]=\"{x: rowIndex, y: columnIndex}\"\n    [isRemove]=\"columnsData[columnIndex]?.isRemove\"\n    [infoIconTooltip]=\"columnsData[columnIndex]?.infoIconOnHoverTooltip\"\n    [isRowSelected]=\"isRowSelected\"\n    [isLastColumn]=\"isLast\"\n    [isReadOnly]=\"isRowReadOnly\"\n    [customClass]=\"row['customClass']\"\n    [ngClass]=\"columnsData[columnIndex]?.classes\"\n    [class.cell-tooltip]=\"columnsData[columnIndex]?.hasTooltip\"\n    [class.after-sticky]=\"hasAfterSticky\"\n    [class.inner-row]=\"isInnerRow\"\n    [ngStyle]=\"columnsData[columnIndex]?.styles\"\n    [style.width]=\"columnsData[columnIndex]?.width\"\n    [attr.colspan]=\"columnsData[columnIndex]?.colspan\"\n    (remove)=\"rowRemoved.emit()\"\n    (selectedChange)=\"selectedChange.emit($event)\"\n    (dataChange)=\"onDataChange($event, column.key)\"\n></td>\n", styles: [":host-context(.on-scroll-right) .sticky-left.display-shadow-on-scroll:after{content:\"\";position:absolute;top:0;height:100%}:host td:not(:last-child){border-right:var(--table-body-border, none)}:host:nth-child(odd){background-color:var(--table-odd-row-background-color, var(--fu-white, #ffffff))}:host:nth-child(2n){background-color:var(--table-even-row-background-color, var(--fu-white, #ffffff))}:host:hover td{background-color:var(--fu-light-100, #f7f8f9)}:host:hover td.inner-row,:host:hover td.sticky-left{background-color:var(--fu-light-100, #f7f8f9)}:host.is-row-disabled td,:host.is-row-in-request td{color:var(--fu-light-900, #7b838c);pointer-events:none}:host.is-row-disabled td fusion-icon,:host.is-row-in-request td fusion-icon{opacity:.6}:host.is-row-selected,:host.is-row-expanded{background-color:var(--fu-light-200, #f0f1f2)}:host td.inner-row{background-color:#e5e7e966}:host td.expand-cell{width:24px;text-align:center;border-top:1px solid var(--fu-light-300, #e5e7e9);border-bottom:1px solid var(--fu-light-300, #e5e7e9)}:host td.expand-cell fusion-icon[class^=icon-expand]{cursor:pointer}:host td.expand-cell fusion-icon[class^=icon-expand] ::ng-deep svg{height:8px;width:5px}:host td.expand-cell fusion-icon[class^=icon-expand] ::ng-deep svg *{fill:var(--fu-dark-200, #4c548e)}:host td.expand-cell.expanded fusion-icon[class^=icon-expand] ::ng-deep svg{height:8px;width:5px;transform:rotate(90deg)}:host td.expand-cell.expanded fusion-icon[class^=icon-expand] ::ng-deep svg *{fill:var(--fu-dark-200, #4c548e)}:host td.expand-cell.inner-row{border:none}:host td.sticky-left{background-color:var(--fu-white, #ffffff);position:sticky;left:0;z-index:2}:host.is-with-totals:hover td{background-color:var(--fu-white, #ffffff)}:host.is-inner-row-expandable td.expand-cell.inner-row{border-top:1px solid var(--fu-light-300, #e5e7e9);border-bottom:1px solid var(--fu-light-300, #e5e7e9)}:host.is-inner-row-expandable td.inner-row{background-color:var(--fu-light-200, #f0f1f2)}:host.is-inner-row-expandable:hover td{background-color:var(--fu-light-100, #f7f8f9)}:host-context(.on-scroll-right) .sticky-left.display-shadow-on-scroll:after{width:1px;right:0;box-shadow:2px 3px 5px #0009}:host-context(.on-scroll-right) .sticky-left.display-shadow-on-scroll.after-sticky:before{content:\"\";width:100%;height:26px;position:absolute;bottom:-27px;left:0;box-shadow:4px 3px 5px 0 var(--fu-light-500, #d2d5d8);background-color:var(--fu-light-100, #f7f8f9)}\n"] }]
    }], () => [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }], { rowIndex: [{
            type: Input
        }], row: [{
            type: Input
        }], options: [{
            type: Input
        }], columns: [{
            type: Input
        }], isRemovableOnHover: [{
            type: Input
        }], isRowSelected: [{
            type: Input
        }], isExpanded: [{
            type: Input
        }], isInnerRow: [{
            type: Input
        }], hasAfterSticky: [{
            type: Input
        }], rowRemoved: [{
            type: Output
        }], selectedChange: [{
            type: Output
        }], expandRow: [{
            type: Output
        }], dataRowIndex: [{
            type: HostBinding,
            args: ['attr.data-row-idx']
        }], isRowInRequest: [{
            type: HostBinding,
            args: ['class.is-row-in-request']
        }], isRowExpanded: [{
            type: HostBinding,
            args: ['class.is-row-expanded']
        }], isInnerRowExpandable: [{
            type: HostBinding,
            args: ['class.is-inner-row-expandable']
        }], isRowTotal: [{
            type: HostBinding,
            args: ['class.is-with-totals']
        }], isRowReadOnly: [{
            type: HostBinding,
            args: ['class.is-row-readonly']
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableRowComponent, { className: "TableRowComponent", filePath: "components/table-row/table-row.component.ts", lineNumber: 28 }); })();
//# sourceMappingURL=data:application/json;base64, 