'use strict';

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

const index = require('./index-609aba38.js');

const CorejamBox = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    //@todo check if props are valid
    this.display = "block";
    this.droppableElements = ["corejam-box"];
  }
  async componentWillRender() {
    const hash = await (await Promise.resolve().then(function () { return require('./style-bb932dc0.js'); }).then(function (n) { return n.style; })).calculateStyles(this);
    this.hash = hash;
  }
  render() {
    return (index.h(index.Host, { class: this.hash }, index.h("slot", null)));
  }
};

const CorejamType = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.as = "span";
    this.droppableElements = ["corejam-box"];
  }
  async componentWillRender() {
    const hash = await (await Promise.resolve().then(function () { return require('./style-bb932dc0.js'); }).then(function (n) { return n.style; })).calculateStyles(this);
    this.hash = hash;
  }
  render() {
    const Type = this.as;
    return (index.h(Type, { class: this.hash }, index.h("slot", null)));
  }
};

exports.corejam_box = CorejamBox;
exports.corejam_type = CorejamType;
