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';
var UIDateTime = /** @class */ (function () {
    function UIDateTime(hostRef) {
        registerInstance(this, hostRef);
        this.format = {
            weekday: 'short',
            year: 'numeric',
            month: 'long',
            day: 'numeric',
        };
    }
    UIDateTime.prototype.render = function () {
        return (h(DateTime, Object.assign({ date: this.date }, getProps(['format'], this)), h("slot", null)));
    };
    return UIDateTime;
}());
export { UIDateTime as ui_date_time };
