import { NgClass } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { MenuItemComponent } from '../../atoms/menu-item/menu-item.component';
import { OverlayDirective } from '../../../directives/overlay.directive';
import * as i0 from "@angular/core";
export class MenuComponent {
    constructor() {
        this.direction = 'vertical';
        this.iconDirection = 'horizontal';
        this.type = 'primary';
        this.variant = 'solid';
        this.gap = 2;
        this.fullSize = true;
        this.iconAlone = false;
        this.menusAppearVertical = false;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: MenuComponent, isStandalone: true, selector: "ct-menu", inputs: { direction: "direction", iconDirection: "iconDirection", type: "type", variant: "variant", gap: "gap", fullSize: "fullSize", iconAlone: "iconAlone", menusAppearVertical: "menusAppearVertical" }, ngImport: i0, template: "<div\n  class=\"flex flex-col gap-{{ gap }} z-10 rounded-md p-2 font-primary\"\n  [ngClass]=\"{\n    'shadow-lg': variant === 'solid',\n    'bg-surface dark:bg-surface-dark': variant === 'solid'\n  }\">\n  <div\n    class=\"flex justify-around\"\n    [class.flex-col]=\"direction === 'vertical'\"\n    [class.flex-row]=\"direction === 'horizontal'\">\n    <ng-content></ng-content>\n  </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: MenuComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ct-menu', standalone: true, imports: [NgClass, MenuItemComponent, OverlayDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n  class=\"flex flex-col gap-{{ gap }} z-10 rounded-md p-2 font-primary\"\n  [ngClass]=\"{\n    'shadow-lg': variant === 'solid',\n    'bg-surface dark:bg-surface-dark': variant === 'solid'\n  }\">\n  <div\n    class=\"flex justify-around\"\n    [class.flex-col]=\"direction === 'vertical'\"\n    [class.flex-row]=\"direction === 'horizontal'\">\n    <ng-content></ng-content>\n  </div>\n</div>\n" }]
        }], propDecorators: { direction: [{
                type: Input
            }], iconDirection: [{
                type: Input
            }], type: [{
                type: Input
            }], variant: [{
                type: Input
            }], gap: [{
                type: Input
            }], fullSize: [{
                type: Input
            }], iconAlone: [{
                type: Input
            }], menusAppearVertical: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jaXJjbGV0b25lL3NyYy9saWIvY29tcG9uZW50cy9tb2xlY3VsZXMvbWVudS9tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NpcmNsZXRvbmUvc3JjL2xpYi9jb21wb25lbnRzL21vbGVjdWxlcy9tZW51L21lbnUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzFDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOztBQVl6RSxNQUFNLE9BQU8sYUFBYTtJQVAxQjtRQVFXLGNBQVMsR0FBeUIsVUFBVSxDQUFDO1FBQzdDLGtCQUFhLEdBQXlCLFlBQVksQ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