import { __esDecorate, __runInitializers } from "tslib";
import { customElement } from 'lit/decorators.js';
import Element from './internal/MenuItem.js';
import styles from './internal/MenuItem.styles.js';
import listStyles from '../list/internals/ListItem.styles.js';
/**
 * Material Design 3 Menu Item component.
 *
 * @element ui-menu-item
 * @attribute {Object} data - The menu item data object
 * @attribute {boolean} disabled - Whether the menu item is disabled
 * @fires select - Dispatched when the menu item is selected
 * @fires submenu-open - Dispatched when a sub-menu is opened
 */
let UiMenuItemElement = (() => {
    let _classDecorators = [customElement('ui-menu-item')];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = Element;
    var UiMenuItemElement = 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);
            UiMenuItemElement = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
        }
        static styles = [styles, listStyles];
        static {
            __runInitializers(_classThis, _classExtraInitializers);
        }
    };
    return UiMenuItemElement = _classThis;
})();
export { UiMenuItemElement };
//# sourceMappingURL=ui-menu-item.js.map