UNPKG

gepic

Version:

基于vue3的设计器,可视化开发页面表单

38 lines (37 loc) 1.93 kB
import i from "./MonacoEditor/index.js"; import e from "./Page/index.js"; function m(t) { t.component("EInputSize", async () => await import("./EInputSize/index.vue.js")), t.component("EColEditor", async () => await import("./EColEditor/index.vue.js")), t.component("EActionEditor", async () => await import("./EActionEditor/index.vue.js")), t.component("ERuleEditor", async () => await import("./ERuleEditor/index.vue.js")), t.component("EOptionsEditor", async () => await import("./EOptionsEditor/index.vue.js")), t.component("ENode", async () => await import("../components/node/index.js")), t.registerActivitybar({ id: "component_view", title: "组件", icon: "icon--epic--extension-outline", component: async () => await import("../components/designer/src/modules/componentView/index.vue.js") }), t.registerActivitybar({ id: "sound_code_view", title: "源码", icon: "icon--epic--sdk-outline-rounded", component: async () => await import("../components/designer/src/modules/sourceCode/index.vue.js") }), t.registerActivitybar({ id: "outline_view", title: "大纲", icon: "icon--epic--account-tree-outline-rounded", component: async () => await import("../components/designer/src/modules/outline/outline.vue.js") }), t.registerRightSidebar({ id: "attribute_view", title: "属性", component: async () => await import("../components/designer/src/modules/attributeView/attributeView.vue.js") }), t.registerRightSidebar({ id: "style_view", title: "样式", component: async () => await import("../components/designer/src/modules/attributeView/styleView.vue.js") }), t.registerRightSidebar({ id: "event_view", title: "事件", component: async () => await import("../components/designer/src/modules/attributeView/eventView.vue.js") }), [i, e].forEach((o) => { t.registerComponent(o); }); } export { m as setupComponent };