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