UNPKG

snowy-designer

Version:

基于Epic-Designer-Pro版本的设计器,可视化开发页面表单

31 lines (30 loc) 958 B
import { defineComponent as m, useAttrs as i, computed as u, createElementBlock as o, openBlock as n, createVNode as d, unref as r, normalizeProps as f, guardReactiveProps as h, withCtx as S, renderSlot as t, Fragment as _, renderList as $ } from "vue"; import { Tooltip as g } from "ant-design-vue"; const B = /* @__PURE__ */ m({ inheritAttrs: !1, name: "Tooltip", __name: "tooltip", props: { componentSchema: {} }, setup(s) { const l = s, a = i(), p = u(() => { var e; return ((e = l.componentSchema) == null ? void 0 : e.children) ?? []; }); return (e, k) => (n(), o("span", null, [ d(r(g), f(h(r(a))), { default: S(() => [ t(e.$slots, "edit-node", {}, () => [ (n(!0), o(_, null, $(p.value, (c) => t(e.$slots, "node", { componentSchema: c })), 256)) ]), t(e.$slots, "default") ]), _: 3 }, 16) ])); } }); export { B as default };