提交 6c565e98 编写于 作者: zhujiamin's avatar zhujiamin

feat: 插件更新

上级 92153ea3
var c = Object.defineProperty;
var l = (t, e, s) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
var a = (t, e, s) => (l(t, typeof e != "symbol" ? e + "" : e, s), s);
import { defineComponent as m, h as i } from "vue";
import { useNamespace as d } from "@ibiz-template/vue-util";
import { ModelUtil as m } from "@ibiz-template/model";
import { defineComponent as d, h as i } from "vue";
import { useNamespace as p } from "@ibiz-template/vue-util";
import { PluginStaticResource as u } from "@ibiz-template/runtime";
class p {
class f {
constructor() {
a(this, "component", "IndexView");
}
}
const f = m({
const h = d({
name: "WFToolbar",
props: {
wfLinks: {
......@@ -20,7 +21,7 @@ const f = m({
setup(t, {
emit: e
}) {
const s = d("wf-toolbar"), o = async (n, r) => {
const s = p("wf-toolbar"), o = async (n, r) => {
e("wf-link-click", n, r);
};
return {
......@@ -52,15 +53,17 @@ const f = m({
})]);
}
}), w = new u(import.meta.url);
const y = {
const W = {
mateUrl: import.meta.url,
install(t) {
w.loadStyle(["/style.css"]), t.component("WfToolbar", f), ibiz.config.enableDataInfoBar = !1, ibiz.config.gridEditShowMode = "all", ibiz.register.view.register(
m.getModelService().then((e) => {
e.app.userParams.autoWidth === "true" && document.getElementsByClassName("app")[0].classList.add("auto-width");
}), w.loadStyle(["/style.css"]), t.component("WfToolbar", h), ibiz.config.enableDataInfoBar = !1, ibiz.config.gridEditShowMode = "all", ibiz.register.view.register(
"VIEW_CUSTOM_GsIndexCSS",
new p()
new f()
);
}
};
export {
y as default
W as default
};
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册