import { defineComponent as d, createBlock as l, openBlock as i, withCtx as a, createVNode as t, unref as r, renderSlot as o } from "vue";
import { TabGroup as m, TabList as u } from "@headlessui/vue";
import f from "./CardHeader.vue.js";
const g = /* @__PURE__ */ d({
  __name: "CardTabHeader",
  emits: ["change"],
  setup(p, { emit: s }) {
    const c = s, n = (e) => {
      c("change", e);
    };
    return (e, _) => (i(), l(f, { class: "scalar-card-header scalar-card-header-tabs" }, {
      actions: a(() => [
        o(e.$slots, "actions", {}, void 0, !0)
      ]),
      default: a(() => [
        t(r(m), { onChange: n }, {
          default: a(() => [
            t(r(u), { class: "tab-list custom-scroll" }, {
              default: a(() => [
                o(e.$slots, "default", {}, void 0, !0)
              ]),
              _: 3
            })
          ]),
          _: 3
        })
      ]),
      _: 3
    }));
  }
});
export {
  g as default
};
