import { progress_ring_styles_default } from "./chunk.GPQIRQBJ.js"; import { LocalizeController } from "./chunk.NH3SRVOC.js"; import { ShoelaceElement, e, n, r } from "./chunk.SEXBCYCU.js"; import { x } from "./chunk.CXZZ2LVK.js"; import { __decorateClass } from "./chunk.KIILAQWQ.js"; // src/components/progress-ring/progress-ring.component.ts var SlProgressRing = class extends ShoelaceElement { constructor() { super(...arguments); this.localize = new LocalizeController(this); this.value = 0; this.label = ""; } updated(changedProps) { super.updated(changedProps); if (changedProps.has("value")) { const radius = parseFloat(getComputedStyle(this.indicator).getPropertyValue("r")); const circumference = 2 * Math.PI * radius; const offset = circumference - this.value / 100 * circumference; this.indicatorOffset = `${offset}px`; } } render() { return x`