import { Host, h } from '@stencil/core';
/**
 * A user's information when displayed in the profile block.
 */
export class BsProfileDetails {
  constructor() {
    this.profileName = undefined;
    this.company = undefined;
    this.jobTitle = undefined;
    this.email = undefined;
  }
  render() {
    return (h(Host, null, h("div", { class: "bs-profile-details" }, h("span", { "data-size": "sm", "data-weight": "bold" }, this.profileName), this.company && h("span", { "data-weight": "bold" }, this.company), this.jobTitle && h("span", null, this.jobTitle), this.email && h("span", null, this.email))));
  }
  static get is() { return "bs-profile-details"; }
  static get originalStyleUrls() {
    return {
      "$": ["bs-profile-details.scss"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["bs-profile-details.css"]
    };
  }
  static get properties() {
    return {
      "profileName": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": "Name of the user. This is used to add a descriptive alt tag to the image."
        },
        "attribute": "profile-name",
        "reflect": false
      },
      "company": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "The name of the company that the user works for."
        },
        "attribute": "company",
        "reflect": false
      },
      "jobTitle": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Job title of the user."
        },
        "attribute": "job-title",
        "reflect": false
      },
      "email": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "The user's email address"
        },
        "attribute": "email",
        "reflect": false
      }
    };
  }
}
//# sourceMappingURL=bs-profile-details.js.map
