import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
import { d as defineCustomElement$4 } from './bs-profile-details2.js';
import { d as defineCustomElement$3 } from './bs-profile-img2.js';
import { d as defineCustomElement$2 } from './bs-profile-layout2.js';

const BsProfile$1 = /*@__PURE__*/ proxyCustomElement(class BsProfile extends HTMLElement {
  constructor() {
    super();
    this.__registerHost();
    this.actionToggled = createEvent(this, "action-toggled", 7);
    this.layout = undefined;
    this.href = undefined;
    this.imageSrc = undefined;
    this.imageSize = 'lg';
    this.initials = undefined;
    this.profileName = undefined;
    this.company = undefined;
    this.jobTitle = undefined;
    this.email = undefined;
    this.action = undefined;
    this.actionIcon = undefined;
    this.miscMeta = undefined;
    this.miscMetaIcon = undefined;
  }
  render() {
    return (h(Host, null, h("bs-profile-layout", { layout: this.layout, href: this.href }, h("bs-profile-img", { src: this.imageSrc, size: this.imageSize, initials: this.initials, "profile-name": this.profileName }), h("bs-profile-details", { "profile-name": this.profileName, company: this.company, "job-title": this.jobTitle, email: this.email, action: this.action, "action-icon": this.actionIcon, "misc-meta": this.miscMeta, "misc-meta-icon": this.miscMetaIcon }))));
  }
}, [0, "bs-profile", {
    "layout": [1],
    "href": [1],
    "imageSrc": [1, "image-src"],
    "imageSize": [1, "image-size"],
    "initials": [1],
    "profileName": [1, "profile-name"],
    "company": [1],
    "jobTitle": [1, "job-title"],
    "email": [1],
    "action": [1],
    "actionIcon": [1, "action-icon"],
    "miscMeta": [1, "misc-meta"],
    "miscMetaIcon": [1, "misc-meta-icon"]
  }]);
function defineCustomElement$1() {
  if (typeof customElements === "undefined") {
    return;
  }
  const components = ["bs-profile", "bs-profile-details", "bs-profile-img", "bs-profile-layout"];
  components.forEach(tagName => { switch (tagName) {
    case "bs-profile":
      if (!customElements.get(tagName)) {
        customElements.define(tagName, BsProfile$1);
      }
      break;
    case "bs-profile-details":
      if (!customElements.get(tagName)) {
        defineCustomElement$4();
      }
      break;
    case "bs-profile-img":
      if (!customElements.get(tagName)) {
        defineCustomElement$3();
      }
      break;
    case "bs-profile-layout":
      if (!customElements.get(tagName)) {
        defineCustomElement$2();
      }
      break;
  } });
}

const BsProfile = BsProfile$1;
const defineCustomElement = defineCustomElement$1;

export { BsProfile, defineCustomElement };

//# sourceMappingURL=bs-profile.js.map