'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-bb72bde3.js');
require('./common-a086c7ac.js');
const DateTime = require('./DateTime-36af50a9.js');
const tools = require('./tools-44ad1873.js');

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

exports.ui_date_time = UIDateTime;
