import { defineComponent as r, openBlock as m, createElementBlock as p, normalizeClass as i, unref as t, createBlock as o, resolveDynamicComponent as s } from "vue";
import { Empty as a } from "@aplus-frontend/antdv";
import "../../../config-provider/index.mjs";
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
const k = /* @__PURE__ */ r({
  __name: "index",
  props: {
    params: {}
  },
  setup(e) {
    const { b: n } = c("ag-grid");
    return (l, y) => (m(), p("div", {
      class: i(t(n)("empty"))
    }, [
      e.params.emptyComponent ? (m(), o(s(e.params.emptyComponent), { key: 0 })) : (m(), o(t(a), {
        key: 1,
        image: t(a).PRESENTED_IMAGE_SIMPLE,
        description: e.params.emptyText
      }, null, 8, ["image", "description"]))
    ], 2));
  }
});
export {
  k as default
};
