import { defineComponent as l, createBlock as u, openBlock as m, unref as t, withCtx as f, createVNode as e } from "vue";
import { useI18n as k } from "vue-i18n";
import { I as _, ao as d, L as b } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const T = /* @__PURE__ */ l({
  __name: "TasksIcon",
  props: {
    module: {}
  },
  emits: ["open"],
  setup(n, { emit: o }) {
    const s = n, c = o, { t: a } = k();
    function p() {
      c("open", { ...s.module, moduleUrl: "tasks-task-overview" });
    }
    return (r, g) => (m(), u(t(_), {
      icon: r.module?.icon || "lucide:circle-check-big",
      variant: "text",
      density: "comfortable",
      color: "icons",
      onClick: p
    }, {
      default: f(() => [
        e(t(d)),
        e(t(b), {
          text: t(a)("tasks-plugin.icon.openTasks"),
          activator: "parent",
          location: "bottom"
        }, null, 8, ["text"])
      ]),
      _: 1
    }, 8, ["icon"]));
  }
});
function i(n) {
  const o = n;
  o.__i18n = o.__i18n || [], o.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "tasks-plugin": {
          icon: {
            openTasks: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tasks" } }
          }
        }
      },
      "de-DE": {
        "tasks-plugin": {
          icon: {
            openTasks: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aufgaben" } }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(T);
export {
  T as default
};
