import { Component, HostListener, Input } from '@angular/core';
import { SimpoElementsModule } from '../../elements';
import { SimpoComponentModule } from '../../components';
import { CommonModule } from '@angular/common';
import BaseSection from '../BaseSection';
import { BackgroundDirective } from '../../directive/background-directive';
import { HoverDirective } from '../../directive/hover-element-directive';
import { ImageDirectiveDirective } from '../../directive/image-directive.directive';
import { ObjectPositionDirective } from './../../directive/image-position.directive';
import { CornerDirective } from '../../directive/corner-directive';
import { ImageEditorDirective } from '../../directive/image-editor.directive';
import { OverlayDirective } from '../../directive/overlay-directive';
import { TextEditorComponent } from '../../elements/text-editor/text-editor.component';
import { SpacingHorizontalDirective } from '../../directive/spacing-horizontal.directive';
import { ContentFitDirective } from '../../directive/content-fit-directive';
import { PositionLayoutDirectiveDirective } from '../../directive/position-layout-directive.directive';
import { AnimationDirective } from '../../directive/animation-directive';
import { BorderDirective } from '../../directive/border-directive';
import { SimpoContainerAligment } from '../../directive/container-alignment.directive';
import { simpoConetenAlignmentDirective } from '../../directive/content-alignment-directive';
import * as i0 from "@angular/core";
import * as i1 from "../../elements/simpo-button/simpo-button.component";
import * as i2 from "../../elements/svg-divider/svg-divider.component";
import * as i3 from "../../components/hover-elements/hover-elements.component";
import * as i4 from "../../components/delete-hover-element/delete-hover-element.component";
import * as i5 from "@angular/common";
export class ProductInfoSectionComponent extends BaseSection {
    constructor() {
        super();
    }
    ngOnInit() {
        this.getScreenSize();
        this.styles = this.data?.styles || {};
        this.content = this.data?.content || {};
    }
    get accentBackground() {
        const bg = this.styles?.background;
        if (!bg)
            return '';
        if (bg.accentBackgroundType === 'Solid') {
            return bg.accentColor;
        }
        const angle = this.getGradientDirection(bg.gradientDirection);
        return angle
            ? `linear-gradient(${angle}, ${bg.accentColor}, ${bg.secondaryAccentColor})`
            : `linear-gradient(${bg.accentColor}, ${bg.secondaryAccentColor})`;
    }
    get fontColor() {
        let color = this.styles?.background?.accentColor;
        if (!color)
            return '#000';
        // if gradient, extract first hex color
        const gradientMatch = color.match(/#([0-9a-fA-F]{6})/);
        if (gradientMatch) {
            color = gradientMatch[0];
        }
        color = color.replace('#', '');
        const r = parseInt(color.substring(0, 2), 16);
        const g = parseInt(color.substring(2, 4), 16);
        const b = parseInt(color.substring(4, 6), 16);
        const brightness = (r * 299 + g * 587 + b * 114) / 1000;
        return brightness > 128 ? '#000' : '#fff';
    }
    getGradientDirection(direction) {
        switch (direction) {
            case 'DOWN':
                return ''; // default top → bottom (no angle needed)
            case 'RIGHT':
                return '90deg';
            case 'DIAGONAL_RIGHT':
                return '45deg';
            case 'DIAGONAL_LEFT':
                return '135deg';
            default:
                return ''; // fallback
        }
    }
    getScreenSize() {
        this.screenWidth = window.innerWidth;
    }
    get stylesLayout() {
        return { ...this.styles?.layout };
    }
    addRow() {
        const header = this.content.productTableDataList[0];
        const newRow = header.map((col) => ({
            columnCell: col.columnCell,
            value: ''
        }));
        this.content.productTableDataList.push(newRow);
    }
    getColumnWidth() {
        const columnCount = this.content?.productTableDataList[0]?.length || 1;
        return (100 / columnCount) + '%';
    }
    addColumn() {
        const newColumnIndex = this.content.productTableDataList[0].length + 1;
        this.content.productTableDataList.forEach((row, rowIndex) => {
            row.push({
                columnCell: newColumnIndex,
                value: rowIndex === 0 ? 'New Column' : ''
            });
        });
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProductInfoSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProductInfoSectionComponent, isStandalone: true, selector: "simpo-product-info-section", inputs: { data: "data", index: "index", edit: "edit", nextComponentColor: "nextComponentColor", delete: "delete", customClass: "customClass" }, host: { listeners: { "window: resize": "getScreenSize($event)" } }, usesInheritance: true, ngImport: i0, template: "<section class=\"total-container\" [id]=\"data?.id\" [simpoBackground]=\"styles?.background\" simpoHover\r\n    (hovering)=\"showEditTabs($event)\" [attr.style]=\"customClass\">\r\n    <div class=\"chemical-product-details\" [id]=\"data?.id\" [simpoOverlay]=\"styles?.background\"\r\n        [spacingHorizontal]=\"stylesLayout\" [simpoLayout]=\"styles?.layout\" [simpoAnimation]=\"styles?.animation\"\r\n        [simpoOverlay]=\"styles?.background\" [simpoBorder]=\"styles?.border\">\r\n        <div class=\"product-container d-flex gap-5 w-100 flex-lg-row\" [id]=\"data?.id\"\r\n            [simpoPositionLayoutDirective]=\"styles?.positionLayout\"\r\n            [style.flexDirection]=\"styles?.revertImage ? 'column-reverse' : ''\">\r\n            <!-- [ngClass]=\"{ 'align-items-stretch': styles?.positionLayout?.value === 'left' || styles?.positionLayout?.value === 'right'}\" -->\r\n\r\n            <!-- Left: Structure Image -->\r\n            <div class=\"w-50\" *ngIf=\"content?.image?.showImage\">\r\n                <img loading=\"lazy\" [src]=\"content?.image?.url\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\"\r\n                    [simpoObjectPosition]=\"content?.image?.position\" [simpoCorner]=\"styles?.corners\"\r\n                    [appImageEditor]=\"edit || false\" [imageData]=\"content?.image\" [sectionId]=\"data?.id\"\r\n                    [class]=\"data?.id+(content?.image?.id || '')\" class=\"d-block w-100 insideImg h-100\"\r\n                    loading=\"lazy\" />\r\n            </div>\r\n            <!-- Right: Details -->\r\n            <div [ngClass]=\"{'w-50' :content?.image?.showImage,'w-100':!content?.image?.showImage }\" [id]=\"data?.id\"\r\n                class=\"overflow-y-auto d-flex flex-column\" [simpoContainerAlignment]=\"stylesLayout\"\r\n                [simpoContentAlignment]=\"styles?.contentAlignment\">\r\n                <div class=\"w-100 mb-3\">\r\n                    <simpo-text-editor [(value)]=\"content.inputText[0].value\"\r\n                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [isRTE]=\"content?.inputText[0]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n                <div class=\"table-container\">\r\n\r\n                    <!-- \u2705 HEADER (ONLY ONCE) -->\r\n                    <div class=\"d-flex table-header m-0 border-0 flex-nowrap\"\r\n                        [ngClass]=\"{'w-fit-content' : content?.image?.showImage , 'w-100': !content?.image?.showImage}\"\r\n                        [ngStyle]=\"{'background':accentBackground}\">\r\n                        <div class=\"d-flex align-items-center justify-content-center\"\r\n                            *ngFor=\"let col of content?.productTableDataList[0];let i = index\"\r\n                            [ngStyle]=\"{'border-right': content?.columnCellBorder && i != content?.productTableDataList[0].length - 1 ? '1px solid lightgrey' : 'none'}\"\r\n                            [ngClass]=\"{'cell' : !content?.image?.showImage,'image-cell': content?.image?.showImage}\"\r\n                            [style.color]=\"fontColor\">\r\n                            <simpo-text-editor [(value)]=\"col.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\"></simpo-text-editor>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <!-- \u2705 ALL ROWS (DYNAMIC) -->\r\n                    <div class=\"d-flex m-0 border-grey flex-nowrap\"\r\n                        [ngClass]=\"{'w-fit-content' : content?.image?.showImage , 'w-100': !content?.image?.showImage}\"\r\n                        *ngFor=\"let row of content?.productTableDataList; let rowIndex = index\">\r\n                        <ng-container *ngIf=\"rowIndex !== 0\">\r\n                            <div class=\"d-flex align-items-center justify-content-center\"\r\n                                *ngFor=\"let col of row; let colIndex = index\" contenteditable=\"true\"\r\n                                [ngStyle]=\"{'border-right': content?.columnCellBorder ? '1px solid lightgrey' : 'none'}\"\r\n                                [ngClass]=\"{'cell' : !content?.image?.showImage,'image-cell': content?.image?.showImage}\"\r\n                                [style.color]=\"fontColor\">\r\n                                <simpo-text-editor [(value)]=\"col.value\" [editable]=\"edit || false\"\r\n                                    class=\"w-100\" [sectionId]=\"data?.id\" [inputTextIndex]=\"colIndex\" [itemIndex]=\"rowIndex\"></simpo-text-editor>\r\n                            </div>\r\n                        </ng-container>\r\n                    </div>\r\n                </div>\r\n                <div class=\"mt-3 position-absolute button-container\"\r\n                    [style.width]=\"content?.image?.showImage ? '47%' : '97%'\" *ngIf=\"data?.action?.display\">\r\n                    <app-button-element [buttonContent]=\"data?.action?.buttons[0]?.content\"\r\n                        [buttonStyle]=\"data?.action?.buttons[0]?.styles\" [buttonId]=\"data?.action?.buttons[0]?.id\"\r\n                        [sectionId]=\"data?.id\" [edit]=\"edit\" [color]=\"data?.styles?.background?.accentColor\"\r\n                        [backgroundInfo]=\"data?.styles?.background\" [isFullWidth]=\"false\"></app-button-element>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <ng-container *ngIf=\"styles?.devider?.display\">\r\n        <simpo-svg-divider [dividerType]=\"styles?.devider?.deviderType\"\r\n            [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n    </ng-container>\r\n    <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n        <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n    </div>\r\n    <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n        <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n    </div>\r\n</section>", styles: [".chemical-product-details{font-family:Arial,sans-serif;padding:20px}.chemical-product-details .container{display:flex;gap:40px;align-items:flex-start}.w-50{width:50%!important}.chemical-product-details .left{flex:1;display:flex;justify-content:center;align-items:center}.chemical-product-details .left img{max-width:100%;height:auto}.chemical-product-details .right{flex:1}.chemical-product-details .right h2{font-size:28px;color:#2c5aa0;margin-bottom:20px}.info-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ddd;font-size:14px}.info-row span:first-child{color:#555}.info-row span:last-child{color:#000;font-weight:500}.total-container{height:auto;position:relative}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.table-container{display:flex;flex-direction:column;max-height:82%;height:fit-content;overflow-y:scroll}.button-container{bottom:4%}.border-grey{border-bottom:1px solid #eee;border-right:1px solid lightgrey;border-left:1px solid lightgrey}.image-cell{width:140px;padding:5px 0;outline:none}.row{display:flex}.w-fit-content{width:fit-content!important}.overflow-y-auto{overflow-y:auto!important}.cell{flex:1 1 0;min-width:117px;padding:10px 0;outline:none}.table-header{font-weight:700;border-top-right-radius:7px;border-top-left-radius:7px}\n"], dependencies: [{ kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: i1.SimpoButtonComponent, selector: "app-button-element", inputs: ["buttonContent", "buttonStyle", "buttonId", "color", "sectionId", "edit", "backgroundInfo", "disabled", "loading", "isFullWidth"] }, { kind: "component", type: i2.SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i3.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i4.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: ObjectPositionDirective, selector: "[simpoObjectPosition]", inputs: ["simpoObjectPosition"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "directive", type: ImageEditorDirective, selector: "[appImageEditor]", inputs: ["appImageEditor", "imageData", "sectionId", "showIcon", "iconData", "itemIndex"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "directive", type: PositionLayoutDirectiveDirective, selector: "[simpoPositionLayoutDirective]", inputs: ["simpoPositionLayoutDirective"] }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: SimpoContainerAligment, selector: "[simpoContainerAlignment]", inputs: ["simpoContainerAlignment"] }, { kind: "directive", type: simpoConetenAlignmentDirective, selector: "[simpoContentAlignment]", inputs: ["simpoContentAlignment"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProductInfoSectionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'simpo-product-info-section', standalone: true, imports: [
                        SimpoElementsModule,
                        SimpoComponentModule,
                        CommonModule,
                        TextEditorComponent,
                        BackgroundDirective,
                        HoverDirective,
                        ImageDirectiveDirective,
                        ObjectPositionDirective,
                        CornerDirective,
                        ImageEditorDirective,
                        OverlayDirective,
                        SpacingHorizontalDirective,
                        ContentFitDirective,
                        PositionLayoutDirectiveDirective,
                        AnimationDirective,
                        SimpoContainerAligment,
                        simpoConetenAlignmentDirective,
                        BorderDirective
                    ], template: "<section class=\"total-container\" [id]=\"data?.id\" [simpoBackground]=\"styles?.background\" simpoHover\r\n    (hovering)=\"showEditTabs($event)\" [attr.style]=\"customClass\">\r\n    <div class=\"chemical-product-details\" [id]=\"data?.id\" [simpoOverlay]=\"styles?.background\"\r\n        [spacingHorizontal]=\"stylesLayout\" [simpoLayout]=\"styles?.layout\" [simpoAnimation]=\"styles?.animation\"\r\n        [simpoOverlay]=\"styles?.background\" [simpoBorder]=\"styles?.border\">\r\n        <div class=\"product-container d-flex gap-5 w-100 flex-lg-row\" [id]=\"data?.id\"\r\n            [simpoPositionLayoutDirective]=\"styles?.positionLayout\"\r\n            [style.flexDirection]=\"styles?.revertImage ? 'column-reverse' : ''\">\r\n            <!-- [ngClass]=\"{ 'align-items-stretch': styles?.positionLayout?.value === 'left' || styles?.positionLayout?.value === 'right'}\" -->\r\n\r\n            <!-- Left: Structure Image -->\r\n            <div class=\"w-50\" *ngIf=\"content?.image?.showImage\">\r\n                <img loading=\"lazy\" [src]=\"content?.image?.url\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\"\r\n                    [simpoObjectPosition]=\"content?.image?.position\" [simpoCorner]=\"styles?.corners\"\r\n                    [appImageEditor]=\"edit || false\" [imageData]=\"content?.image\" [sectionId]=\"data?.id\"\r\n                    [class]=\"data?.id+(content?.image?.id || '')\" class=\"d-block w-100 insideImg h-100\"\r\n                    loading=\"lazy\" />\r\n            </div>\r\n            <!-- Right: Details -->\r\n            <div [ngClass]=\"{'w-50' :content?.image?.showImage,'w-100':!content?.image?.showImage }\" [id]=\"data?.id\"\r\n                class=\"overflow-y-auto d-flex flex-column\" [simpoContainerAlignment]=\"stylesLayout\"\r\n                [simpoContentAlignment]=\"styles?.contentAlignment\">\r\n                <div class=\"w-100 mb-3\">\r\n                    <simpo-text-editor [(value)]=\"content.inputText[0].value\"\r\n                        [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [isRTE]=\"content?.inputText[0]?.isRTE\"></simpo-text-editor>\r\n                </div>\r\n                <div class=\"table-container\">\r\n\r\n                    <!-- \u2705 HEADER (ONLY ONCE) -->\r\n                    <div class=\"d-flex table-header m-0 border-0 flex-nowrap\"\r\n                        [ngClass]=\"{'w-fit-content' : content?.image?.showImage , 'w-100': !content?.image?.showImage}\"\r\n                        [ngStyle]=\"{'background':accentBackground}\">\r\n                        <div class=\"d-flex align-items-center justify-content-center\"\r\n                            *ngFor=\"let col of content?.productTableDataList[0];let i = index\"\r\n                            [ngStyle]=\"{'border-right': content?.columnCellBorder && i != content?.productTableDataList[0].length - 1 ? '1px solid lightgrey' : 'none'}\"\r\n                            [ngClass]=\"{'cell' : !content?.image?.showImage,'image-cell': content?.image?.showImage}\"\r\n                            [style.color]=\"fontColor\">\r\n                            <simpo-text-editor [(value)]=\"col.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\"></simpo-text-editor>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <!-- \u2705 ALL ROWS (DYNAMIC) -->\r\n                    <div class=\"d-flex m-0 border-grey flex-nowrap\"\r\n                        [ngClass]=\"{'w-fit-content' : content?.image?.showImage , 'w-100': !content?.image?.showImage}\"\r\n                        *ngFor=\"let row of content?.productTableDataList; let rowIndex = index\">\r\n                        <ng-container *ngIf=\"rowIndex !== 0\">\r\n                            <div class=\"d-flex align-items-center justify-content-center\"\r\n                                *ngFor=\"let col of row; let colIndex = index\" contenteditable=\"true\"\r\n                                [ngStyle]=\"{'border-right': content?.columnCellBorder ? '1px solid lightgrey' : 'none'}\"\r\n                                [ngClass]=\"{'cell' : !content?.image?.showImage,'image-cell': content?.image?.showImage}\"\r\n                                [style.color]=\"fontColor\">\r\n                                <simpo-text-editor [(value)]=\"col.value\" [editable]=\"edit || false\"\r\n                                    class=\"w-100\" [sectionId]=\"data?.id\" [inputTextIndex]=\"colIndex\" [itemIndex]=\"rowIndex\"></simpo-text-editor>\r\n                            </div>\r\n                        </ng-container>\r\n                    </div>\r\n                </div>\r\n                <div class=\"mt-3 position-absolute button-container\"\r\n                    [style.width]=\"content?.image?.showImage ? '47%' : '97%'\" *ngIf=\"data?.action?.display\">\r\n                    <app-button-element [buttonContent]=\"data?.action?.buttons[0]?.content\"\r\n                        [buttonStyle]=\"data?.action?.buttons[0]?.styles\" [buttonId]=\"data?.action?.buttons[0]?.id\"\r\n                        [sectionId]=\"data?.id\" [edit]=\"edit\" [color]=\"data?.styles?.background?.accentColor\"\r\n                        [backgroundInfo]=\"data?.styles?.background\" [isFullWidth]=\"false\"></app-button-element>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <ng-container *ngIf=\"styles?.devider?.display\">\r\n        <simpo-svg-divider [dividerType]=\"styles?.devider?.deviderType\"\r\n            [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n    </ng-container>\r\n    <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n        <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n    </div>\r\n    <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n        <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n    </div>\r\n</section>", styles: [".chemical-product-details{font-family:Arial,sans-serif;padding:20px}.chemical-product-details .container{display:flex;gap:40px;align-items:flex-start}.w-50{width:50%!important}.chemical-product-details .left{flex:1;display:flex;justify-content:center;align-items:center}.chemical-product-details .left img{max-width:100%;height:auto}.chemical-product-details .right{flex:1}.chemical-product-details .right h2{font-size:28px;color:#2c5aa0;margin-bottom:20px}.info-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ddd;font-size:14px}.info-row span:first-child{color:#555}.info-row span:last-child{color:#000;font-weight:500}.total-container{height:auto;position:relative}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.table-container{display:flex;flex-direction:column;max-height:82%;height:fit-content;overflow-y:scroll}.button-container{bottom:4%}.border-grey{border-bottom:1px solid #eee;border-right:1px solid lightgrey;border-left:1px solid lightgrey}.image-cell{width:140px;padding:5px 0;outline:none}.row{display:flex}.w-fit-content{width:fit-content!important}.overflow-y-auto{overflow-y:auto!important}.cell{flex:1 1 0;min-width:117px;padding:10px 0;outline:none}.table-header{font-weight:700;border-top-right-radius:7px;border-top-left-radius:7px}\n"] }]
        }], ctorParameters: () => [], propDecorators: { data: [{
                type: Input
            }], index: [{
                type: Input
            }], edit: [{
                type: Input
            }], nextComponentColor: [{
                type: Input
            }], delete: [{
                type: Input
            }], customClass: [{
                type: Input
            }], getScreenSize: [{
                type: HostListener,
                args: ["window: resize", ["$event"]]
            }] } });
//# sourceMappingURL=data:application/json;base64, 