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