UNPKG

@nextcloud/vue

Version:
17 lines (16 loc) 1.15 kB
import "../assets/index7.css"; import { n as e } from "../chunks/_plugin-vue2_normalizer-5b4c43a4.mjs"; const r = { name: "NcLoadingIcon", props: { size: { type: Number, default: 20 }, appearance: { type: String, validator(a) { return ["auto", "light", "dark"].includes(a); }, default: "auto" }, name: { type: String, default: "" } }, computed: { colors() { const a = ["#777", "#CCC"]; return this.appearance === "light" ? a : this.appearance === "dark" ? a.reverse() : ["var(--color-loading-light)", "var(--color-loading-dark)"]; } } }; var l = function() { var a = this, t = a._self._c; return t("span", { staticClass: "material-design-icon loading-icon", attrs: { "aria-label": a.name, role: "img" } }, [t("svg", { attrs: { width: a.size, height: a.size, viewBox: "0 0 24 24" } }, [t("path", { attrs: { fill: a.colors[0], d: "M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z" } }), t("path", { attrs: { fill: a.colors[1], d: "M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z" } }, [a.name ? t("title", [a._v(a._s(a.name))]) : a._e()])])]); }, i = [], o = e(r, l, i, !1, null, "626664cd", null, null); const c = o.exports; export { c as default };