@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
18 lines (17 loc) • 560 B
JavaScript
import { defineComponent as e, inject as a, openBlock as l, createElementBlock as n, normalizeClass as c, unref as s } from "vue";
import { VerticalKey as i } from "../../utils/injection-key.mjs";
const f = e({ name: "flow-chart-arrow-line" }), _ = /* @__PURE__ */ e({
...f,
props: {
showArrow: { type: Boolean, default: !0 }
},
setup(r) {
const o = r, t = a(i, !1);
return (p, w) => (l(), n("div", {
class: c(["flow-chart-arrow-line", { showArrow: o.showArrow, vertical: s(t) }])
}, null, 2));
}
});
export {
_ as default
};