sudovanilla-website/public/@shoelace-style/shoelace/cdn/chunks/chunk.TEPHFVM5.js

34 lines
744 B
JavaScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
import {
spinner_styles_default
} from "./chunk.ZIY5A4G2.js";
import {
LocalizeController
} from "./chunk.NH3SRVOC.js";
import {
ShoelaceElement
} from "./chunk.SEXBCYCU.js";
import {
x
} from "./chunk.CXZZ2LVK.js";
// src/components/spinner/spinner.component.ts
var SlSpinner = class extends ShoelaceElement {
constructor() {
super(...arguments);
this.localize = new LocalizeController(this);
}
render() {
return x`
<svg part="base" class="spinner" role="progressbar" aria-label=${this.localize.term("loading")}>
<circle class="spinner__track"></circle>
<circle class="spinner__indicator"></circle>
</svg>
`;
}
};
SlSpinner.styles = spinner_styles_default;
export {
SlSpinner
};