import { Component, Host, h, Prop } from '@stencil/core';
export class SparkleGoalItem {
  render() {
    return (h(Host, null,
      h("sparkle-card", { header: this.goal.Title, icon: this.goal.CategoryIcon },
        h("p", null, this.goal.Description),
        h("div", { class: "progress-container" },
          h("div", { id: "progress-bar", style: { "--p": this.goal.Progress + "%" } }),
          h("strong", { class: "progress" },
            this.goal.Progress,
            "%")))));
  }
  static get is() { return "sparkle-goal-item"; }
  static get originalStyleUrls() { return {
    "$": ["sparkle-goal-item.css"]
  }; }
  static get styleUrls() { return {
    "$": ["sparkle-goal-item.css"]
  }; }
  static get properties() { return {
    "goal": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "IGoal",
        "resolved": "IGoal",
        "references": {
          "IGoal": {
            "location": "import",
            "path": "../../../../models/goal.model"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    }
  }; }
}
