import { defineComponent as d, openBlock as p, createElementBlock as f, normalizeClass as l, unref as e, normalizeStyle as u, createElementVNode as o, renderSlot as y, createVNode as k } from "vue";
import { IconApAdLineCloseDrawer as C } from "@aplus-frontend/icon";
import "../../../config-provider/index.mjs";
import _ from "../style/selected-items.mjs";
import { useNamespace as h } from "../../../config-provider/hooks/use-namespace.mjs";
const v = /* @__PURE__ */ d({
  __name: "default",
  props: {
    style: { type: [Boolean, null, String, Object, Array] }
  },
  emits: ["clickDel"],
  setup(s, { emit: n }) {
    const { e: t, b: c } = h("ap-selected-items"), a = _("ap-selected-items"), r = n, i = () => r("clickDel");
    return (m, S) => (p(), f("div", {
      style: u(s.style),
      class: l([e(c)(), e(t)("default"), e(a)])
    }, [
      o("div", {
        class: l(e(t)("default-content"))
      }, [
        y(m.$slots, "default")
      ], 2),
      o("span", {
        class: l(e(t)("del-icon")),
        onClick: i
      }, [
        k(e(C))
      ], 2)
    ], 6));
  }
});
export {
  v as default
};
