@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
23 lines (22 loc) • 617 B
JavaScript
import { defineComponent as o, openBlock as r, createElementBlock as l, withModifiers as s, createVNode as i, unref as p } from "vue";
import "./style/index.css";
import { IconCloseOutline as c } from "@javaguns/icon";
const d = o({ name: "flow-node-del-button" }), b = /* @__PURE__ */ o({
...d,
props: {
minMap: { type: Boolean },
node: {}
},
setup(t) {
const n = t;
return (m, e) => (r(), l("div", {
class: "is-circle guns-flow-remove-button",
onClick: e[0] || (e[0] = s((u) => n.node.deletable = !0, ["stop"]))
}, [
i(p(c))
]));
}
});
export {
b as default
};