UNPKG

@aotearoan/neon

Version:

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

41 lines (40 loc) 1.01 kB
import { defineComponent as o, ref as r, onMounted as t } from "vue"; import { NeonFunctionalColor as n } from "../../../model/common/color/NeonFunctionalColor.es.js"; import { NeonSplashLoaderSize as a } from "../../../model/feedback/splash-loader/NeonSplashLoaderSize.es.js"; import l from "../../presentation/icon/NeonIcon.vue.es.js"; const m = o({ name: "NeonSplashLoader", components: { NeonIcon: l }, props: { /** * Color of the loading icon */ color: { type: String, default: n.Brand }, /** * 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 { m as default }; //# sourceMappingURL=NeonSplashLoader.es.js.map