/**
 * Copyright 2022 The Pennsylvania State University
 * @license Apache-2.0, see License.md for full text.
 */
import{html as s}from"../../lit/index.js";import{PromiseProgressLite as r}from"./lib/promise-progress-lite.js";import{SimpleColorsSuper as e}from"../simple-colors/simple-colors.js";export class PromiseProgress extends(e(r)){constructor(){super()}static get tag(){return"promise-progress"}render(){return s`
      <progress
        part="progress"
        max="${this.max}"
        value="${this.value}"
      ></progress>
      ${this.list&&this.showCount?s`${this.value} / ${this.max}`:""}
      <slot></slot>
    `}}customElements.define(PromiseProgress.tag,PromiseProgress);