UNPKG

@builder.io/sdk-vue

Version:
50 lines (49 loc) 1.28 kB
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as p, createBlock as s } from "vue"; import { i as c, d as i } from "./index-HR8y_fPw.js"; const a = () => import("./index-HR8y_fPw.js").then((e) => e.E).then((e) => e.default).catch((e) => { throw console.error( "Error while attempting to dynamically import component Block at ../block.vue", e ), e; }), l = t({ name: "repeated-block", components: { Block: n(a) }, props: ["repeatContext", "block", "registeredComponents", "linkComponent"], data() { return { store: this.repeatContext }; }, provide() { const e = this; return { [c.key]: e.store }; }, watch: { onUpdateHook0: { handler() { this.store = this.repeatContext; }, immediate: !0 } }, computed: { onUpdateHook0() { return { 0: this.repeatContext }; } } }); function m(e, d, k, C, h, u) { const o = r("Block"); return p(), s(o, { block: e.block, context: e.store, registeredComponents: e.registeredComponents, linkComponent: e.linkComponent }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]); } const _ = /* @__PURE__ */ i(l, [["render", m]]); export { _ as default };