import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
import { useStyles as t } from "../internal/styles/index.js";
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
import r from "./progress-bar.js";
import { LitElement as i, html as a } from "lit";
import { property as o } from "lit/decorators/property.js";
import { classMap as s } from "lit/directives/class-map.js";
//#region src/progress-bar/progress-bar.ts
var c = class extends i {
	constructor(...e) {
		super(...e), this.max = 100;
	}
	static {
		this.styles = t([r]);
	}
	static {
		this.metadata = {
			tag: "nve-progress-bar",
			version: "2.0.2"
		};
	}
	render() {
		let e = {
			full: this.value === this.max,
			"min-width": this.value !== void 0 && this.value > 0,
			indeterminate: this.value === void 0
		};
		return a`<progress internal-host .max="${this.max}" .value="${this.value === void 0 ? 100 : this.value}" class="${s(e)}"></progress>`;
	}
};
n([o({
	type: Number,
	reflect: !0
})], c.prototype, "value", void 0), n([o({ type: Number })], c.prototype, "max", void 0), n([o({
	type: String,
	reflect: !0
})], c.prototype, "status", void 0), c = n([e()], c);
//#endregion
export { c as ProgressBar };

//# sourceMappingURL=progress-bar2.js.map