@chewel/naive-ui-plus
Version:
## Document & Online preview
54 lines (53 loc) • 1.43 kB
JavaScript
import { NConfigProvider as a, dateZhCN as d, zhCN as i, NDialogProvider as n, NNotificationProvider as f, NMessageProvider as m } from "naive-ui";
import { defineComponent as c, createBlock as p, openBlock as s, unref as e, withCtx as o, createVNode as t, renderSlot as u } from "vue";
const N = /* @__PURE__ */ c({
__name: "PApplication",
props: {
theme: {},
themeOverrides: { default: {
common: {
primaryColor: "#2d8cf0",
primaryColorHover: "#3c9bff",
primaryColorPressed: "#3c9bff",
primaryColorSuppl: "#2d8cf0"
},
LoadingBar: {
colorLoading: "#2d8cf0"
}
} }
},
setup(h) {
return (r, _) => {
const l = a;
return s(), p(l, {
locale: e(i),
theme: r.theme,
"theme-overrides": r.themeOverrides,
"date-locale": e(d)
}, {
default: o(() => [
t(e(n), null, {
default: o(() => [
t(e(f), null, {
default: o(() => [
t(e(m), null, {
default: o(() => [
u(r.$slots, "default")
]),
_: 3
})
]),
_: 3
})
]),
_: 3
})
]),
_: 3
}, 8, ["locale", "theme", "theme-overrides", "date-locale"]);
};
}
});
export {
N as default
};