@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
36 lines (35 loc) • 1.07 kB
JavaScript
import "./style.css";
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as p, createBlock as c } from "vue";
import { j as s, e as l } from "./index-96lMP92Z.js";
const i = () => import("./index-96lMP92Z.js").then((o) => o.G).then((o) => o.default).catch((o) => {
throw console.error(
"Error while attempting to dynamically import component Block at ../block.vue",
o
), o;
}), m = t({
name: "repeated-block",
components: { Block: n(i) },
props: ["repeatContext", "block", "registeredComponents", "linkComponent"],
data() {
return { store: this.repeatContext };
},
provide() {
const o = this;
return {
[s.key]: o.store
};
}
});
function a(o, k, d, C, f, u) {
const e = r("Block");
return p(), c(e, {
block: o.block,
context: o.store,
registeredComponents: o.registeredComponents,
linkComponent: o.linkComponent
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]);
}
const b = /* @__PURE__ */ l(m, [["render", a]]);
export {
b as default
};