import { r as registerInstance, h } from './index-0861cb0b.js';
import './common-d52c7ecc.js';
import { D as DateTime } from './DateTime-1f6d070d.js';
import { g as getProps } from './tools-803eb4f0.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 };
