upload project source code
This commit is contained in:
46
后端源码/yifan.action-ai.cn/index/js/CustomNode.DH3hMbi5.js
Normal file
46
后端源码/yifan.action-ai.cn/index/js/CustomNode.DH3hMbi5.js
Normal file
@@ -0,0 +1,46 @@
|
||||
import { S as openBlock, _ as createElementBlock, a1 as createBaseVNode, aa as toDisplayString, $ as createVNode, o as unref, et as _sfc_main$f } from "./.pnpm.BW3P1y8f.js";
|
||||
import { _ as _export_sfc } from "./_plugin-vue_export-helper.1tPrXgE0.js";
|
||||
const _hoisted_1 = { class: "custom-node" };
|
||||
const _hoisted_2 = { class: "node-header" };
|
||||
const _sfc_main = {
|
||||
__name: "CustomNode",
|
||||
props: {
|
||||
id: String,
|
||||
data: Object
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return openBlock(), createElementBlock("div", _hoisted_1, [
|
||||
createBaseVNode("div", _hoisted_2, toDisplayString(__props.data.label), 1),
|
||||
createVNode(unref(_sfc_main$f), {
|
||||
id: "top-" + __props.id,
|
||||
type: "source",
|
||||
position: "top",
|
||||
style: { background: "#4a5568" }
|
||||
}, null, 8, ["id"]),
|
||||
createVNode(unref(_sfc_main$f), {
|
||||
id: "left-" + __props.id,
|
||||
type: "source",
|
||||
position: "left",
|
||||
style: { background: "#4a5568" }
|
||||
}, null, 8, ["id"]),
|
||||
createVNode(unref(_sfc_main$f), {
|
||||
id: "right-" + __props.id,
|
||||
type: "source",
|
||||
position: "right",
|
||||
style: { background: "#4a5568" }
|
||||
}, null, 8, ["id"]),
|
||||
createVNode(unref(_sfc_main$f), {
|
||||
id: "bottom-" + __props.id,
|
||||
type: "source",
|
||||
position: "bottom",
|
||||
style: { background: "#4a5568" }
|
||||
}, null, 8, ["id"])
|
||||
]);
|
||||
};
|
||||
}
|
||||
};
|
||||
const CustomNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2960f973"]]);
|
||||
export {
|
||||
CustomNode as default
|
||||
};
|
||||
Reference in New Issue
Block a user