import { inject as c, openBlock as a, createElementBlock as m, pushScopeId as _, popScopeId as r, createElementVNode as t, createTextVNode as i } from "vue";
import { _ as d, u as l } from "./DashboardPlugin-1aa3a071.js";
const u = (e) => (_("data-v-cc6b5025"), e = e(), r(), e), h = { ref: "instance" }, S = /* @__PURE__ */ u(() => /* @__PURE__ */ t("div", { class: "sample-component" }, [
  /* @__PURE__ */ i("this is a sample component "),
  /* @__PURE__ */ t("div", null, [
    /* @__PURE__ */ t("p", null, "more of the component goes here")
  ])
], -1)), v = [
  S
], f = {
  __name: "SampleComponent",
  props: {
    widgetName: {
      type: String,
      required: !0
    }
  },
  emits: ["setTitle"],
  setup(e, { emit: n }) {
    const p = c("emitter");
    l();
    const o = n;
    return o("setTitle", "New Custom Component!"), o("SampleComponent-eventName", {}), p.on("SparcDashboard-addNewWidget", (s) => {
    }), (s, N) => (a(), m("div", h, v, 512));
  }
}, y = /* @__PURE__ */ d(f, [["__scopeId", "data-v-cc6b5025"]]);
export {
  y as default
};
