@aplus-frontend/ui
Version:
30 lines (29 loc) • 792 B
JavaScript
import { defineComponent as p, computed as s, createElementBlock as a, openBlock as i, mergeProps as c } from "vue";
import "../../../config-provider/index.mjs";
import { mergeClass as m } from "../../../editable-table/utils.mjs";
import { useNamespace as d } from "../../../config-provider/hooks/use-namespace.mjs";
const _ = /* @__PURE__ */ p({
name: "ApProCardDivider",
__name: "index",
props: {
type: {
default: "vertical"
}
},
setup(t) {
const {
b: o
} = d("pro-card-divider"), r = t, n = s(() => {
const e = o();
return m(`${e}`, [r.type ? `${e}-${r.type}` : void 0].filter(Boolean));
});
return (e, l) => (i(), a("div", c({
...e.$attrs
}, {
class: n.value
}), null, 16));
}
});
export {
_ as default
};