import { __esDecorate, __runInitializers } from "tslib";
import { customElement } from 'lit/decorators.js';
import Element from './internal/Menu.js';
import styles from './internal/Menu.styles.js';
/**
 * Material Design 3 Menu component with sub-menu support.
 *
 * @element ui-menu
 * @attribute {boolean} open - Whether the menu is currently open
 * @attribute {boolean} anchored - Whether the menu should be positioned relative to an anchor element
 * @attribute {boolean} disabled - Whether the menu is disabled
 * @fires select - Dispatched when a menu item is selected
 * @fires close - Dispatched when the menu is closed
 * @fires open - Dispatched when the menu is opened
 */
let UiMenuElement = (() => {
    let _classDecorators = [customElement('ui-menu')];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = Element;
    var UiMenuElement = class extends _classSuper {
        static { _classThis = this; }
        static {
            const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
            __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
            UiMenuElement = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
        }
        static styles = [styles];
        static {
            __runInitializers(_classThis, _classExtraInitializers);
        }
    };
    return UiMenuElement = _classThis;
})();
export { UiMenuElement };
//# sourceMappingURL=ui-menu.js.map