@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
49 lines (48 loc) • 1.7 kB
JavaScript
import p from "./NeonAlert.es.js";
import { resolveComponent as m, openBlock as r, createElementBlock as u, createVNode as t } from "vue";
import i from "../../../_virtual/_plugin-vue_export-helper.es.js";
const V = { class: "neon-alert__wrapper" };
function s(o, e, f, g, b, U) {
const n = m("neon-alert-container"), a = m("neon-toast-container"), d = m("neon-dialog-container");
return r(), u("div", V, [
t(n, {
modelValue: o.topLeft,
"onUpdate:modelValue": e[0] || (e[0] = (l) => o.topLeft = l),
placement: "top-left"
}, null, 8, ["modelValue"]),
t(n, {
modelValue: o.topRight,
"onUpdate:modelValue": e[1] || (e[1] = (l) => o.topRight = l),
placement: "top-right"
}, null, 8, ["modelValue"]),
t(n, {
modelValue: o.bottomLeft,
"onUpdate:modelValue": e[2] || (e[2] = (l) => o.bottomLeft = l),
placement: "bottom-left"
}, null, 8, ["modelValue"]),
t(n, {
modelValue: o.bottomRight,
"onUpdate:modelValue": e[3] || (e[3] = (l) => o.bottomRight = l),
placement: "bottom-right"
}, null, 8, ["modelValue"]),
t(a, {
modelValue: o.top,
"onUpdate:modelValue": e[4] || (e[4] = (l) => o.top = l),
placement: "top"
}, null, 8, ["modelValue"]),
t(a, {
modelValue: o.bottom,
"onUpdate:modelValue": e[5] || (e[5] = (l) => o.bottom = l),
placement: "bottom"
}, null, 8, ["modelValue"]),
t(d, {
modelValue: o.dialog,
"onUpdate:modelValue": e[6] || (e[6] = (l) => o.dialog = l)
}, null, 8, ["modelValue"])
]);
}
const k = /* @__PURE__ */ i(p, [["render", s]]);
export {
k as default
};
//# sourceMappingURL=NeonAlert.vue.es.js.map