
		import { Core as _autoloadCSSCore } from '../core/app.js';
		const fileNames = ['../assets/tabs.css'].map(fileName => import.meta.resolve(fileName));
		_autoloadCSSCore.insertCSSLinkToPage(fileNames, true);
	
import { defineComponent as d, createElementBlock as s, openBlock as n, normalizeClass as l, renderSlot as a, createCommentVNode as i, createElementVNode as o, Fragment as b } from "vue";
const r = {
  class: /* @__PURE__ */ l({
    "top-tabs": !0
  })
}, m = {
  key: 0,
  class: "top-tabs_header"
}, u = { class: "top-tabs_contents" }, $ = /* @__PURE__ */ d({
  __name: "tabs",
  props: {
    id: {}
  },
  setup(e) {
    return (t, c) => (n(), s("div", r, [
      a(t.$slots, "buttons"),
      t.$slots.header ? (n(), s("div", m, [
        a(t.$slots, "header")
      ])) : i("", !0),
      o("div", u, [
        a(t.$slots, "contents")
      ])
    ]));
  }
}), p = ["id", "name", "value", "checked", "disabled"], _ = ["for"], v = /* @__PURE__ */ d({
  __name: "tab",
  props: {
    tabsId: {},
    name: {},
    title: {},
    active: { type: Boolean },
    disabled: { type: Boolean }
  },
  setup(e) {
    return (t, c) => (n(), s(b, null, [
      o("input", {
        type: "radio",
        class: "top-tabs_tabInput top-unvisible",
        id: e.tabsId + e.name,
        name: e.tabsId,
        value: e.name,
        checked: e.active,
        disabled: e.disabled
      }, null, 8, p),
      o("label", {
        class: l({
          "top-tabs_tabLabel": !0,
          "top-forms-focusable": !0,
          "top-disabled": e.disabled
        }),
        for: e.tabsId + e.name
      }, [
        a(t.$slots, "default")
      ], 10, _)
    ], 64));
  }
}), h = ["data-tabs-name"], T = /* @__PURE__ */ d({
  __name: "content",
  props: {
    name: {}
  },
  setup(e) {
    return (t, c) => (n(), s("div", {
      class: l({
        "top-tabs_content": !0
      }),
      "data-tabs-name": e.name
    }, [
      a(t.$slots, "default")
    ], 8, h));
  }
});
export {
  $ as TopTabs,
  T as TopTabsContent,
  v as TopTabsTab
};
//# sourceMappingURL=tabs.js.map
