'use strict';

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

const index = require('./index-8fdcf600.js');
require('./common-05944c8f.js');
const DateTime = require('./DateTime-ab3d6fb3.js');
const tools = require('./tools-7a91cb13.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;
