import { __esDecorate, __runInitializers } from "tslib";
import { customElement } from 'lit/decorators.js';
import Element from './internals/ConfirmDialog.js';
import dialogStyles from './internals/Dialog.styles.js';
/**
 * A simple Material Design 3 styled confirm dialog component.
 *
 * This dialog is designed specifically for confirmation workflows where users
 * need to confirm or dismiss an action. It provides a clean, accessible interface
 * with customizable button labels and content.
 *
 * **Features:**
 * - Material Design 3 styling
 * - Customizable confirm and dismiss button labels
 * - Modal by default
 * - Accessible keyboard navigation
 * - Slot-based content structure
 *
 * **Usage:**
 * ```html
 * <ui-confirm-dialog .open="${showDialog}" @close="${handleClose}">
 *   <span slot="title">Confirm Action</span>
 *   <p>Are you sure you want to proceed with this action?</p>
 * </ui-confirm-dialog>
 * ```
 *
 * **Customizing Button Labels:**
 * ```html
 * <ui-confirm-dialog
 *   confirmLabel="Delete"
 *   dismissLabel="Keep"
 *   .open="${showDialog}"
 * >
 *   <span slot="title">Delete Item</span>
 *   <p>This action cannot be undone.</p>
 * </ui-confirm-dialog>
 * ```
 *
 * @slot title - The dialog title
 * @slot - The main content body
 */
let UiConfirmDialogElement = (() => {
    let _classDecorators = [customElement('ui-confirm-dialog')];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = Element;
    var UiConfirmDialogElement = 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);
            UiConfirmDialogElement = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
        }
        static styles = [dialogStyles];
        static {
            __runInitializers(_classThis, _classExtraInitializers);
        }
    };
    return UiConfirmDialogElement = _classThis;
})();
export { UiConfirmDialogElement };
//# sourceMappingURL=ui-confirm-dialog.js.map