import { r as registerInstance, h } from './index-dd1fc9a4.js';
import './common-ecdc423b.js';
import { D as DateTime } from './DateTime-d050ef49.js';
import { g as getProps } from './tools-9397f0ed.js';

const UIDateTime = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.format = {
            weekday: 'short',
            year: 'numeric',
            month: 'long',
            day: 'numeric',
        };
    }
    render() {
        return (h(DateTime, Object.assign({ date: this.date }, getProps(['format'], this)), h("slot", null)));
    }
};

export { UIDateTime as ui_date_time };
