import { Component, HostListener, Input } from '@angular/core';
import { SpacingAroundDirective } from '../../directive/spacing-around.directive';
import { TextEditorComponent } from '../../elements/text-editor/text-editor.component';
import { CommonModule, NgFor, NgIf } from '@angular/common';
import { ButtonDirectiveDirective } from '../../directive/button-directive.directive';
import { SimpoButtonComponent } from '../../elements/simpo-button/simpo-button.component';
import { PositionLayoutDirectiveDirective } from '../../directive/position-layout-directive.directive';
import { ImageDirectiveDirective } from '../../directive/image-directive.directive';
import { ImageEditorDirective } from '../../directive/image-editor.directive';
import BaseSection from '../BaseSection';
import { HoverDirective } from '../../directive/hover-element-directive';
import { SpacingHorizontalDirective } from '../../directive/spacing-horizontal.directive';
import { CornerDirective } from '../../directive/corner-directive';
import { SimpoHoverBorderDirective } from "../../directive/hoverborder.directive";
import { SimpoElementsModule } from '../../elements/index';
import { SimpoComponentModule } from '../../components/index';
import { BackgroundDirective } from '../../directive/background-directive';
import { BorderDirective } from '../../directive/border-directive';
import { ContainerFitDirective } from '../../directive/container-fir.directive';
import { simpoConetenAlignmentDirective } from '../../directive/content-alignment-directive';
import { ContentFitDirective } from '../../directive/content-fit-directive';
import { AnimationDirective } from '../../directive/animation-directive';
import { SimpoContainerAligment } from '../../directive/container-alignment.directive';
import { TextBackgroundDirectiveDirective } from '../../directive/text-background-directive.directive';
import { OverlayDirective } from '../../directive/overlay-directive';
import * as i0 from "@angular/core";
import * as i1 from "../../services/events.service";
import * as i2 from "@angular/common";
import * as i3 from "../../elements/simpo-button/simpo-button.component";
import * as i4 from "../../elements/svg-divider/svg-divider.component";
import * as i5 from "../../components/hover-elements/hover-elements.component";
import * as i6 from "../../components/delete-hover-element/delete-hover-element.component";
export class NewServicesComponent extends BaseSection {
    constructor(_eventService) {
        super();
        this._eventService = _eventService;
        this.selectedImage = '';
        this.idx = 0;
        this.index = 0;
        this.screenWidth = "";
        // this.getScreenSize();
    }
    ngOnInit() {
        this.content = this.data?.content;
        this.styles = this.data?.styles;
        this.selectedImage = this.content?.listItem.data[0].image.url;
        this.idx = 0;
        this.updateScreenWidth(window.innerWidth);
    }
    get stylesLayout() {
        return { ...this.styles?.layout };
    }
    getImageData() {
        return this.content?.listItem.data[this.idx].image;
    }
    getImageUrl() {
        if (this.content?.listItem?.data[this.idx]?.image?.url) {
            return this.content?.listItem?.data[this.idx]?.image?.url;
        }
        if (this.idx != 0)
            return this.content?.listItem?.data[this.idx - 1]?.image?.url;
        return '';
    }
    editSection() {
        this._eventService.toggleEditorEvent.emit(false);
        setTimeout(() => {
            this._eventService.editSection.emit({ data: this.data });
        }, 100);
    }
    stopPropagation(event) {
        event.stopPropagation();
    }
    getScreenSize() {
        this.screenWidth = window.innerWidth;
    }
    getGradientDirection(direction) {
        switch (direction) {
            case 'DIAGONAL_RIGHT':
                return 'to bottom right';
            case 'DIAGONAL_LEFT':
                return 'to bottom left';
            case 'VERTICAL':
                return 'to bottom';
            case 'HORIZONTAL':
                return 'to right';
            default:
                return 'to bottom';
        }
    }
    onResize(event) {
        const w = event?.target?.innerWidth ?? window.innerWidth;
        this.updateScreenWidth(w);
    }
    updateScreenWidth(width) {
        this.screenWidth = width;
        // if using OnPush change detection uncomment next line
        // this.cdr.markForCheck();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NewServicesComponent, deps: [{ token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NewServicesComponent, isStandalone: true, selector: "simpo-new-services", inputs: { data: "data", edit: "edit", delete: "delete", customClass: "customClass", nextComponentColor: "nextComponentColor" }, host: { listeners: { "window:resize": "onResize($event)" } }, usesInheritance: true, ngImport: i0, template: "<section class=\"main-container d-block\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\"\r\n    [attr.style]=\"customClass\">\r\n    <div class=\"spacing-around\" [spacingAround]=\"stylesLayout\" [id]=\"data?.id\" [simpoBorder]=\"styles?.border\">\r\n        <div class=\"main-div\" [id]=\"data?.id\" [simpoCorner]=\"styles?.corners\" [simpoBackground]=\"styles?.background\">\r\n            <div [simpoOverlay]=\"styles?.background\" [id]=\"data?.id\" class=\"d-flex flex-column\"\r\n                [simpoLayout]=\"styles?.layout\">\r\n                <div class=\"header\" [spacingHorizontal]=\"stylesLayout\" [simpoAnimation]=\"styles?.animation\">\r\n                    <ng-container *ngFor=\"let text of content?.inputText; let i = index\">\r\n                        <div [ngClass]=\"text.label.includes('Heading') ? 'heading-large lh-2 mb-2' : 'body-large'\">\r\n                            <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n                        </div>\r\n                    </ng-container>\r\n                </div>\r\n                <div class=\"d-flex gap-3 mt-2\" [spacingHorizontal]=\"stylesLayout\">\r\n                    <ng-container *ngIf=\"data?.action?.display\">\r\n                        <div *ngFor=\"let button of data?.action?.buttons\" [id]=\"data?.id\"\r\n                            [simpoAnimation]=\"styles?.animation\">\r\n                            <app-button-element [buttonContent]=\"button.content\" [buttonStyle]=\"button.styles\"\r\n                                [buttonId]=\"button.id\" [edit]=\"edit\" [sectionId]=\"data?.id\"\r\n                                [color]=\"data?.styles?.background?.accentColor\"\r\n                                [backgroundInfo]=\"data?.styles?.background\"></app-button-element>\r\n                        </div>\r\n                    </ng-container>\r\n                </div>\r\n                <div class=\"list-image-container mt-3 d-flex gap-3 h-100 \" [id]=\"data?.id\"\r\n                    [simpoPositionLayoutDirective]=\"styles?.positionLayout\" [spacingHorizontal]=\"stylesLayout\"\r\n                    [class.flex-mob-column-reverse]=\"styles?.positionLayout?.value === 'bottom'\"\r\n                    [id]=\"data?.id\" [class.flex-mob-column]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'left' || styles?.positionLayout?.value === 'right' \"\r\n                    [simpoAnimation]=\"styles?.animation\" [class.w-100]=\"screenWidth < 475\">\r\n                    <div class=\"img-container h-100\" [id]=\"data?.id\"\r\n                        [class.image-fit]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.w-50]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.w-100]=\"screenWidth < 475\">\r\n                        <ng-container *ngIf=\"getImageUrl()\">\r\n                            <img [src]=\"getImageUrl()\" alt=\"Selected Image\" class=\"d-block img-fluid w-100 h-100\"\r\n                                [appImageEditor]=\"edit || false\" [imageData]=\"getImageData()\" [sectionId]=\"data?.id\"\r\n                                [simpoCorner]=\"styles?.corners\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\">\r\n                        </ng-container>\r\n                    </div>\r\n                    <div class=\"list-items h-auto o-visible\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\"\r\n                        [class.w-50]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.w-100]=\"screenWidth < 475\" [class.object-unset]=\"screenWidth < 475\"\r\n                        [class.over-y]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.row]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.gap-2]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.over-x]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.object-unset]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\">\r\n                        <ng-container *ngFor=\"let item of content?.listItem?.data;let i = index\">\r\n                            <div class=\"item mb-3 bb-3\"\r\n                                [class.col-md-3]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                                [class.col-6]=\"screenWidth <  475 && (styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom')\"\r\n                                (mouseenter)=\"idx = i\" [ngStyle]=\"{\r\n                           borderBottom: styles?.background?.accentBackgroundType === 'Solid' && idx == i\r\n                             ? '3px solid ' + styles?.background?.accentColor\r\n                             : styles?.background?.accentBackgroundType === 'Gradient' && idx == i ? '3px solid transparent' : '',\r\n                           borderImage: styles?.background?.accentBackgroundType === 'Gradient' && idx == i\r\n                             ? 'linear-gradient(' + getGradientDirection(styles?.background?.gradientDirection) + ', ' + styles?.background?.accentColor + ', ' + styles?.background?.secondaryAccentColor + ') 1'\r\n                             : '',\r\n                           borderImageSlice: styles?.background?.accentBackgroundType === 'Gradient'  ? '1' : ''\r\n                         }\">\r\n                                <simpo-text-editor [(value)]=\"item.inputText[0].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[0]?.isRTE\"></simpo-text-editor>\r\n                            </div>\r\n                        </ng-container>\r\n                    </div>\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\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: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.main-container{position:relative;height:auto}.item{padding-bottom:10px}.row{flex-wrap:unset!important}.col-md-3{width:24%!important;padding-left:unset!important;padding-right:unset!important}.col-6{width:50%!important}.over-x{overflow-x:scroll}.over-y{overflow-y:scroll}.w-100{width:100%!important}.object-unset{aspect-ratio:unset!important}.bb-3{border-bottom:3px solid #e0e0e0}.image-fit{object-fit:none!important;object-position:center!important;width:100%!important;height:100%!important;aspect-ratio:unset!important}.list-items::-webkit-scrollbar{display:flex!important;height:3px}.list-items::-webkit-scrollbar-thumb{background:#d4d4d4}@media screen and (max-width: 475px){.list-items{aspect-ratio:unset!important;object-fit:unset!important}.flex-mob-column-reverse{flex-direction:column-reverse!important}.flex-mob-column{flex-direction:column!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: 
                // directives
                SpacingAroundDirective, selector: "[spacingAround]", inputs: ["spacingAround", "backgroundInfo"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: PositionLayoutDirectiveDirective, selector: "[simpoPositionLayoutDirective]", inputs: ["simpoPositionLayoutDirective"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "ngmodule", type: SimpoElementsModule }, { kind: "component", type: i3.SimpoButtonComponent, selector: "app-button-element", inputs: ["buttonContent", "buttonStyle", "buttonId", "color", "sectionId", "edit", "backgroundInfo", "disabled", "loading", "isFullWidth"] }, { kind: "component", type: i4.SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i5.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i6.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "component", type: 
                // components
                TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "isRTE", "sectionId", "label", "type", "inputTextIndex", "itemIndex"], outputs: ["valueChange"] }, { kind: "directive", type: ImageEditorDirective, selector: "[appImageEditor]", inputs: ["appImageEditor", "imageData", "sectionId", "showIcon", "iconData", "itemIndex"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NewServicesComponent, decorators: [{
            type: Component,
            args: [{ selector: 'simpo-new-services', standalone: true, imports: [
                        CommonModule,
                        NgFor,
                        NgIf,
                        // directives
                        SpacingAroundDirective,
                        BackgroundDirective,
                        ButtonDirectiveDirective,
                        PositionLayoutDirectiveDirective,
                        ImageDirectiveDirective,
                        HoverDirective,
                        SpacingHorizontalDirective,
                        CornerDirective,
                        SimpoHoverBorderDirective,
                        SimpoElementsModule,
                        SimpoComponentModule,
                        BorderDirective,
                        ContainerFitDirective,
                        simpoConetenAlignmentDirective,
                        AnimationDirective,
                        SimpoContainerAligment,
                        ContentFitDirective,
                        TextBackgroundDirectiveDirective,
                        ImageDirectiveDirective,
                        OverlayDirective,
                        // components
                        TextEditorComponent,
                        SimpoButtonComponent,
                        ImageEditorDirective,
                    ], template: "<section class=\"main-container d-block\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\"\r\n    [attr.style]=\"customClass\">\r\n    <div class=\"spacing-around\" [spacingAround]=\"stylesLayout\" [id]=\"data?.id\" [simpoBorder]=\"styles?.border\">\r\n        <div class=\"main-div\" [id]=\"data?.id\" [simpoCorner]=\"styles?.corners\" [simpoBackground]=\"styles?.background\">\r\n            <div [simpoOverlay]=\"styles?.background\" [id]=\"data?.id\" class=\"d-flex flex-column\"\r\n                [simpoLayout]=\"styles?.layout\">\r\n                <div class=\"header\" [spacingHorizontal]=\"stylesLayout\" [simpoAnimation]=\"styles?.animation\">\r\n                    <ng-container *ngFor=\"let text of content?.inputText; let i = index\">\r\n                        <div [ngClass]=\"text.label.includes('Heading') ? 'heading-large lh-2 mb-2' : 'body-large'\">\r\n                            <simpo-text-editor [(value)]=\"text.value\" [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"i\" [isRTE]=\"text.isRTE\"></simpo-text-editor>\r\n                        </div>\r\n                    </ng-container>\r\n                </div>\r\n                <div class=\"d-flex gap-3 mt-2\" [spacingHorizontal]=\"stylesLayout\">\r\n                    <ng-container *ngIf=\"data?.action?.display\">\r\n                        <div *ngFor=\"let button of data?.action?.buttons\" [id]=\"data?.id\"\r\n                            [simpoAnimation]=\"styles?.animation\">\r\n                            <app-button-element [buttonContent]=\"button.content\" [buttonStyle]=\"button.styles\"\r\n                                [buttonId]=\"button.id\" [edit]=\"edit\" [sectionId]=\"data?.id\"\r\n                                [color]=\"data?.styles?.background?.accentColor\"\r\n                                [backgroundInfo]=\"data?.styles?.background\"></app-button-element>\r\n                        </div>\r\n                    </ng-container>\r\n                </div>\r\n                <div class=\"list-image-container mt-3 d-flex gap-3 h-100 \" [id]=\"data?.id\"\r\n                    [simpoPositionLayoutDirective]=\"styles?.positionLayout\" [spacingHorizontal]=\"stylesLayout\"\r\n                    [class.flex-mob-column-reverse]=\"styles?.positionLayout?.value === 'bottom'\"\r\n                    [id]=\"data?.id\" [class.flex-mob-column]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'left' || styles?.positionLayout?.value === 'right' \"\r\n                    [simpoAnimation]=\"styles?.animation\" [class.w-100]=\"screenWidth < 475\">\r\n                    <div class=\"img-container h-100\" [id]=\"data?.id\"\r\n                        [class.image-fit]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.w-50]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.w-100]=\"screenWidth < 475\">\r\n                        <ng-container *ngIf=\"getImageUrl()\">\r\n                            <img [src]=\"getImageUrl()\" alt=\"Selected Image\" class=\"d-block img-fluid w-100 h-100\"\r\n                                [appImageEditor]=\"edit || false\" [imageData]=\"getImageData()\" [sectionId]=\"data?.id\"\r\n                                [simpoCorner]=\"styles?.corners\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\">\r\n                        </ng-container>\r\n                    </div>\r\n                    <div class=\"list-items h-auto o-visible\" [simpoImageDirective]=\"styles?.image\" [id]=\"data?.id\"\r\n                        [class.w-50]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.w-100]=\"screenWidth < 475\" [class.object-unset]=\"screenWidth < 475\"\r\n                        [class.over-y]=\"styles?.positionLayout?.value === 'right' || styles?.positionLayout?.value === 'left'\"\r\n                        [class.row]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.gap-2]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.over-x]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                        [class.object-unset]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\">\r\n                        <ng-container *ngFor=\"let item of content?.listItem?.data;let i = index\">\r\n                            <div class=\"item mb-3 bb-3\"\r\n                                [class.col-md-3]=\"styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom'\"\r\n                                [class.col-6]=\"screenWidth <  475 && (styles?.positionLayout?.value === 'top' || styles?.positionLayout?.value === 'bottom')\"\r\n                                (mouseenter)=\"idx = i\" [ngStyle]=\"{\r\n                           borderBottom: styles?.background?.accentBackgroundType === 'Solid' && idx == i\r\n                             ? '3px solid ' + styles?.background?.accentColor\r\n                             : styles?.background?.accentBackgroundType === 'Gradient' && idx == i ? '3px solid transparent' : '',\r\n                           borderImage: styles?.background?.accentBackgroundType === 'Gradient' && idx == i\r\n                             ? 'linear-gradient(' + getGradientDirection(styles?.background?.gradientDirection) + ', ' + styles?.background?.accentColor + ', ' + styles?.background?.secondaryAccentColor + ') 1'\r\n                             : '',\r\n                           borderImageSlice: styles?.background?.accentBackgroundType === 'Gradient'  ? '1' : ''\r\n                         }\">\r\n                                <simpo-text-editor [(value)]=\"item.inputText[0].value\"\r\n                                    [editable]=\"edit || false\" [sectionId]=\"data?.id\" [inputTextIndex]=\"0\" [itemIndex]=\"i\" [isRTE]=\"item.inputText[0]?.isRTE\"></simpo-text-editor>\r\n                            </div>\r\n                        </ng-container>\r\n                    </div>\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\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: [".hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.main-container{position:relative;height:auto}.item{padding-bottom:10px}.row{flex-wrap:unset!important}.col-md-3{width:24%!important;padding-left:unset!important;padding-right:unset!important}.col-6{width:50%!important}.over-x{overflow-x:scroll}.over-y{overflow-y:scroll}.w-100{width:100%!important}.object-unset{aspect-ratio:unset!important}.bb-3{border-bottom:3px solid #e0e0e0}.image-fit{object-fit:none!important;object-position:center!important;width:100%!important;height:100%!important;aspect-ratio:unset!important}.list-items::-webkit-scrollbar{display:flex!important;height:3px}.list-items::-webkit-scrollbar-thumb{background:#d4d4d4}@media screen and (max-width: 475px){.list-items{aspect-ratio:unset!important;object-fit:unset!important}.flex-mob-column-reverse{flex-direction:column-reverse!important}.flex-mob-column{flex-direction:column!important}}\n"] }]
        }], ctorParameters: () => [{ type: i1.EventsService }], propDecorators: { data: [{
                type: Input
            }], edit: [{
                type: Input
            }], delete: [{
                type: Input
            }], customClass: [{
                type: Input
            }], nextComponentColor: [{
                type: Input
            }], getScreenSize: [{
                type: HostListener,
                args: ["window:resize", ["$event"]]
            }], onResize: [{
                type: HostListener,
                args: ['window:resize', ['$event']]
            }] } });
//# sourceMappingURL=data:application/json;base64, 