@javaguns/flow-ui
Version:
``` <template> <a-spin :spinning="loading"> <FlowDesigner ref="flowDesigner" top="50px"> </FlowDesigner> </a-spin> </template> <script lang="ts" setup> import { ref, provide, onMounted } from 'vue'; import { FlowDesigner, LoadingKey } from '@j
39 lines (38 loc) • 1.02 kB
JavaScript
import { defineComponent as r, openBlock as a, createElementBlock as n, createVNode as d, withCtx as s, renderSlot as o } from "vue";
import "../style/content.css";
import l from "./flowDrawerItem.vue.mjs";
const m = { class: "flow-drawer-content" }, p = r({ name: "flow-drawer-content" }), x = /* @__PURE__ */ r({
...p,
props: {
name: { default: "" },
prefix: { default: "" },
text: { default: "" },
desc: { default: "" },
footer: { default: "" },
top: { default: 10 },
bottom: { default: 10 }
},
setup(f) {
const t = f;
return (e, c) => (a(), n("div", m, [
d(l, {
prefix: t.prefix,
name: t.name,
text: t.text,
desc: t.desc,
footer: t.footer,
top: e.top,
bottom: e.bottom
}, {
default: s(() => [
o(e.$slots, "default")
]),
_: 3
}, 8, ["prefix", "name", "text", "desc", "footer", "top", "bottom"]),
o(e.$slots, "item")
]));
}
});
export {
x as default
};