UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

41 lines (40 loc) 994 B
import { defineComponent as o, ref as r, onMounted as t } from "vue"; import { NeonFunctionalColor as n } from "../../../common/enums/NeonFunctionalColor.es.js"; import { NeonSplashLoaderSize as a } from "../../../common/enums/NeonSplashLoaderSize.es.js"; import l from "../../presentation/icon/NeonIcon.vue.es.js"; const u = o({ name: "NeonSplashLoader", components: { NeonIcon: l }, props: { /** * Color of the loading icon */ color: { type: String, default: n.Primary }, /** * Loading icon size */ size: { type: String, default: a.Large }, /** * Display the overlay over the page */ overlay: { type: Boolean, default: !0 }, /** * Display fullscreen (position: fixed) */ fullscreen: { type: Boolean, default: !1 } }, setup() { const e = r(!1); return t(() => { e.value = !0; }), { ready: e }; } }); export { u as default }; //# sourceMappingURL=NeonSplashLoader.es.js.map