import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "primeng/tooltip";
export class SmzTableHeaderActionsComponent {
    constructor() { }
    ngOnInit() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzTableHeaderActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SmzTableHeaderActionsComponent, selector: "smz-table-header-actions", inputs: { col: "col" }, host: { classAttribute: "grid grid-nogutter items-center justify-start gap-2" }, ngImport: i0, template: "<ng-container *ngFor=\"let action of col.headerActions\">\r\n  <i *ngIf=\"action.condition(col)\" [ngClass]=\"action.icon + ' ' + action.styleClass\" class=\"cursor-pointer\" (click)=\"action.callback(col)\" [pTooltip]=\"action.tooltip != null ? action.tooltip(col) : null\"></i>\r\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzTableHeaderActionsComponent, decorators: [{
            type: Component,
            args: [{ selector: 'smz-table-header-actions', host: { class: 'grid grid-nogutter items-center justify-start gap-2' }, template: "<ng-container *ngFor=\"let action of col.headerActions\">\r\n  <i *ngIf=\"action.condition(col)\" [ngClass]=\"action.icon + ' ' + action.styleClass\" class=\"cursor-pointer\" (click)=\"action.callback(col)\" [pTooltip]=\"action.tooltip != null ? action.tooltip(col) : null\"></i>\r\n</ng-container>" }]
        }], ctorParameters: () => [], propDecorators: { col: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWFjdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LXRhYmxlcy9jb21wb25lbnRzL3RhYmxlLWhlYWRlci1hY3Rpb25zL3RhYmxlLWhlYWRlci1hY3Rpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei10YWJsZXMvY29tcG9uZW50cy90YWJsZS1oZWFkZXItYWN0aW9ucy90YWJsZS1oZWFkZXItYWN0aW9ucy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQzs7OztBQVN6RCxNQUFNLE9BQU8sOEJBQThCO0lBRXpDLGdCQUFnQixDQUFDO0lBRWpCLFFBQVEsS0FBSyxDQUFDOzhHQUpILDhCQUE4QjtrR0FBOUIsOEJBQThCLHlLQ1QzQyw0U0FFZTs7MkZET0YsOEJBQThCO2tCQU4xQyxTQUFTOytCQUNFLDBCQUEwQixRQUU5QixFQUFFLEtBQUssRUFBRSxxREFBcUQsRUFBRTt3REFJdEQsR0FBRztzQkFBbEIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbm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