import { defineComponent as s, computed as i, openBlock as a, createElementBlock as c, mergeProps as d } from "vue";
import { clsx as l } from "clsx";
import "../../../config-provider/index.mjs";
import m from "../../style/divider.mjs";
import { useNamespace as u } from "../../../config-provider/hooks/use-namespace.mjs";
const $ = /* @__PURE__ */ s({
  name: "ApProCardDivider",
  __name: "index",
  props: {
    type: {
      default: "vertical"
    }
  },
  setup(o) {
    const {
      b: t
    } = u("pro-card-divider"), p = m("pro-card-divider"), r = o, n = i(() => {
      const e = t();
      return l(`${e}`, [r.type ? `${e}-${r.type}` : void 0, p.value].filter(Boolean));
    });
    return (e, f) => (a(), c("div", d({
      ...e.$attrs
    }, {
      class: n.value
    }), null, 16));
  }
});
export {
  $ as default
};
