@builder.io/sdk-vue 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/_vue2/dist/block-styles.d7d7aa69.js +69 -0
- package/packages/_vue2/dist/block-styles.f25ea71f.cjs +1 -0
- package/packages/{_vue3/dist/get-processed-block.d00eccbb.cjs → _vue2/dist/get-processed-block.d3c744f7.cjs} +1 -1
- package/packages/{_vue3/dist/get-processed-block.7f0848a3.js → _vue2/dist/get-processed-block.ef627078.js} +1 -1
- package/packages/_vue2/dist/{index.2d467eb1.cjs → index.bef62fde.cjs} +5 -5
- package/packages/_vue2/dist/{index.055082cd.js → index.ea6d5c33.js} +74 -73
- package/packages/_vue2/dist/{render-block.3d616731.js → render-block.68538b72.js} +34 -31
- package/packages/_vue2/dist/render-block.8a810b21.cjs +3 -0
- package/packages/_vue2/dist/{render-component.69758ebf.js → render-component.d5a06a9f.js} +3 -3
- package/packages/_vue2/dist/{render-component.f92ce0c3.cjs → render-component.fa85c266.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.8d0c5a9b.js → render-inlined-styles.32e2a109.js} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.3d0f9fe7.cjs → render-inlined-styles.c58a27b9.cjs} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.6c0e784a.cjs → render-repeated-block.9563405f.cjs} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.e773db2b.js → render-repeated-block.c577be97.js} +2 -2
- package/packages/_vue2/dist/{render-styles.f5c763be.cjs → render-styles.1c71bf0a.cjs} +2 -2
- package/packages/_vue2/dist/{render-styles.38da6402.js → render-styles.31ad9a17.js} +2 -2
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +3 -3
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +4 -0
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +4 -0
- package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +1 -0
- package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +3 -0
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +3 -0
- package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +3 -0
- package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +4 -0
- package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +4 -0
- package/packages/_vue2/dist/src/types/builder-block.d.ts +8 -0
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.8ee7887b.cjs +1 -0
- package/packages/_vue3/dist/block-styles.b74d2b45.js +66 -0
- package/packages/{_vue2/dist/get-processed-block.e426e5c8.js → _vue3/dist/get-processed-block.348e1332.js} +1 -1
- package/packages/{_vue2/dist/get-processed-block.3cf6c3ff.cjs → _vue3/dist/get-processed-block.49919209.cjs} +1 -1
- package/packages/_vue3/dist/{index.59001d0e.cjs → index.4f68e6f8.cjs} +10 -10
- package/packages/_vue3/dist/{index.3d6c5319.js → index.5773f262.js} +37 -36
- package/packages/_vue3/dist/render-block.1021bf96.cjs +3 -0
- package/packages/_vue3/dist/{render-block.9166425b.js → render-block.f48dafa3.js} +76 -71
- package/packages/_vue3/dist/{render-component.bca347e7.js → render-component.2ae850d5.js} +3 -3
- package/packages/_vue3/dist/{render-component.79b00fb5.cjs → render-component.f152b6e4.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.56c17d2f.cjs → render-inlined-styles.9dd02e33.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.97f3e330.js → render-inlined-styles.da7419c9.js} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.d0ab60c1.js → render-repeated-block.0c8d0906.js} +2 -2
- package/packages/_vue3/dist/{render-repeated-block.791d2698.cjs → render-repeated-block.58283c8b.cjs} +1 -1
- package/packages/_vue3/dist/{render-styles.86687760.cjs → render-styles.90022a69.cjs} +2 -2
- package/packages/_vue3/dist/{render-styles.e5ee2819.js → render-styles.fc3b8b2e.js} +2 -2
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +3 -3
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/types/builder-block.d.ts +8 -0
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.39cc91ef.cjs +0 -1
- package/packages/_vue2/dist/block-styles.ed7736cd.js +0 -66
- package/packages/_vue2/dist/render-block.f934b32f.cjs +0 -3
- package/packages/_vue3/dist/block-styles.057be752.cjs +0 -1
- package/packages/_vue3/dist/block-styles.90be320f.js +0 -63
- package/packages/_vue3/dist/render-block.fad21827.cjs +0 -3
|
@@ -64,11 +64,11 @@ const Y = (t = {}) => {
|
|
|
64
64
|
switch (o.type) {
|
|
65
65
|
case "builder.evaluate": {
|
|
66
66
|
const i = o.data.text, l = o.data.arguments || [], a = o.data.id, c = new Function(i);
|
|
67
|
-
let
|
|
67
|
+
let d, m = null;
|
|
68
68
|
try {
|
|
69
|
-
|
|
70
|
-
} catch (
|
|
71
|
-
m =
|
|
69
|
+
d = c.apply(null, l);
|
|
70
|
+
} catch (u) {
|
|
71
|
+
m = u;
|
|
72
72
|
}
|
|
73
73
|
m ? (s = window.parent) == null || s.postMessage(
|
|
74
74
|
{
|
|
@@ -76,19 +76,19 @@ const Y = (t = {}) => {
|
|
|
76
76
|
data: { id: a, error: m.message }
|
|
77
77
|
},
|
|
78
78
|
"*"
|
|
79
|
-
) :
|
|
79
|
+
) : d && typeof d.then == "function" ? d.then((u) => {
|
|
80
80
|
var g;
|
|
81
81
|
(g = window.parent) == null || g.postMessage(
|
|
82
82
|
{
|
|
83
83
|
type: "builder.evaluateResult",
|
|
84
|
-
data: { id: a, result:
|
|
84
|
+
data: { id: a, result: u }
|
|
85
85
|
},
|
|
86
86
|
"*"
|
|
87
87
|
);
|
|
88
88
|
}).catch(console.error) : (r = window.parent) == null || r.postMessage(
|
|
89
89
|
{
|
|
90
90
|
type: "builder.evaluateResult",
|
|
91
|
-
data: { result:
|
|
91
|
+
data: { result: d, id: a }
|
|
92
92
|
},
|
|
93
93
|
"*"
|
|
94
94
|
);
|
|
@@ -119,8 +119,8 @@ function f(t, e, n, o, s, r, i, l) {
|
|
|
119
119
|
var a = typeof t == "function" ? t.options : t;
|
|
120
120
|
e && (a.render = e, a.staticRenderFns = n, a._compiled = !0), o && (a.functional = !0), r && (a._scopeId = "data-v-" + r);
|
|
121
121
|
var c;
|
|
122
|
-
if (i ? (c = function(
|
|
123
|
-
|
|
122
|
+
if (i ? (c = function(u) {
|
|
123
|
+
u = u || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !u && typeof __VUE_SSR_CONTEXT__ < "u" && (u = __VUE_SSR_CONTEXT__), s && s.call(this, u), u && u._registeredComponents && u._registeredComponents.add(i);
|
|
124
124
|
}, a._ssrRegister = c) : s && (c = l ? function() {
|
|
125
125
|
s.call(
|
|
126
126
|
this,
|
|
@@ -129,9 +129,9 @@ function f(t, e, n, o, s, r, i, l) {
|
|
|
129
129
|
} : s), c)
|
|
130
130
|
if (a.functional) {
|
|
131
131
|
a._injectStyles = c;
|
|
132
|
-
var
|
|
132
|
+
var d = a.render;
|
|
133
133
|
a.render = function(g, R) {
|
|
134
|
-
return c.call(R),
|
|
134
|
+
return c.call(R), d(g, R);
|
|
135
135
|
};
|
|
136
136
|
} else {
|
|
137
137
|
var m = a.beforeCreate;
|
|
@@ -144,14 +144,14 @@ function f(t, e, n, o, s, r, i, l) {
|
|
|
144
144
|
}
|
|
145
145
|
var Z = function() {
|
|
146
146
|
var e = this, n = e._self._c;
|
|
147
|
-
return e.link ? n("a", e._g(e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._g(e._b({ staticClass: "button-
|
|
147
|
+
return e.link ? n("a", e._g(e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._g(e._b({ staticClass: "button-2fnk003dqad" }, "button", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]);
|
|
148
148
|
}, ee = [], te = /* @__PURE__ */ f(
|
|
149
149
|
Q,
|
|
150
150
|
Z,
|
|
151
151
|
ee,
|
|
152
152
|
!1,
|
|
153
153
|
null,
|
|
154
|
-
"
|
|
154
|
+
"3e6fa42c",
|
|
155
155
|
null,
|
|
156
156
|
null
|
|
157
157
|
);
|
|
@@ -225,7 +225,7 @@ const ne = te.exports, w = (t) => JSON.parse(JSON.stringify(t)), B = {
|
|
|
225
225
|
"Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
|
|
226
226
|
t
|
|
227
227
|
), t;
|
|
228
|
-
}), le = () => import("./render-inlined-styles.
|
|
228
|
+
}), le = () => import("./render-inlined-styles.32e2a109.js").then((t) => t.default).catch((t) => {
|
|
229
229
|
throw console.error(
|
|
230
230
|
"Error while attempting to dynamically import component RenderInlinedStyles at ../../components/render-inlined-styles.vue",
|
|
231
231
|
t
|
|
@@ -356,15 +356,15 @@ const ne = te.exports, w = (t) => JSON.parse(JSON.stringify(t)), B = {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
var
|
|
359
|
+
var ue = function() {
|
|
360
360
|
var e = this, n = e._self._c;
|
|
361
361
|
return n("div", { class: e._classStringToObject(
|
|
362
|
-
`builder-columns ${e.builderBlock.id}-breakpoints div-
|
|
362
|
+
`builder-columns ${e.builderBlock.id}-breakpoints div-2brhoa1k8gd`
|
|
363
363
|
), style: {
|
|
364
364
|
...e.TARGET === "reactNative" ? e.reactNativeColumnsStyles : {},
|
|
365
365
|
...e.columnsCssVars
|
|
366
366
|
} }, [e.TARGET !== "reactNative" ? [n("render-inlined-styles", { attrs: { styles: e.columnsStyles } })] : e._e(), e._l(e.columns, function(o, s) {
|
|
367
|
-
return n("div", { key: s, staticClass: "builder-column div-
|
|
367
|
+
return n("div", { key: s, staticClass: "builder-column div-2brhoa1k8gd-2", style: {
|
|
368
368
|
width: e.getColumnCssWidth(s),
|
|
369
369
|
marginLeft: `${s === 0 ? 0 : e.getGutterSize()}px`,
|
|
370
370
|
...e.TARGET === "reactNative" ? e.reactNativeColumnStyles : {},
|
|
@@ -373,13 +373,13 @@ var de = function() {
|
|
|
373
373
|
flexGrow: "1"
|
|
374
374
|
} } })], 1);
|
|
375
375
|
})], 2);
|
|
376
|
-
},
|
|
376
|
+
}, de = [], me = /* @__PURE__ */ f(
|
|
377
377
|
ce,
|
|
378
|
-
de,
|
|
379
378
|
ue,
|
|
379
|
+
de,
|
|
380
380
|
!1,
|
|
381
381
|
null,
|
|
382
|
-
"
|
|
382
|
+
"4e30ecf8",
|
|
383
383
|
null,
|
|
384
384
|
null
|
|
385
385
|
);
|
|
@@ -493,21 +493,21 @@ var ke = function() {
|
|
|
493
493
|
var o, s, r, i;
|
|
494
494
|
var e = this, n = e._self._c;
|
|
495
495
|
return n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
|
|
496
|
-
"builder-image" + (e.className ? " " + e.className : "") + " img-
|
|
496
|
+
"builder-image" + (e.className ? " " + e.className : "") + " img-20351ewpue7"
|
|
497
497
|
), style: {
|
|
498
498
|
objectPosition: e.backgroundPosition || "center",
|
|
499
499
|
objectFit: e.backgroundSize || "cover",
|
|
500
500
|
...e.aspectRatioCss
|
|
501
|
-
}, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-
|
|
501
|
+
}, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-20351ewpue7", style: {
|
|
502
502
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
503
|
-
} })] : e._e(), ((i = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : i.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-
|
|
503
|
+
} })] : e._e(), ((i = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : i.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-20351ewpue7-2" }, [e._t("default")], 2)] : e._e()], 2);
|
|
504
504
|
}, Ce = [], Se = /* @__PURE__ */ f(
|
|
505
505
|
xe,
|
|
506
506
|
ke,
|
|
507
507
|
Ce,
|
|
508
508
|
!1,
|
|
509
509
|
null,
|
|
510
|
-
"
|
|
510
|
+
"893a0f79",
|
|
511
511
|
null,
|
|
512
512
|
null
|
|
513
513
|
);
|
|
@@ -518,12 +518,12 @@ function Re() {
|
|
|
518
518
|
function h() {
|
|
519
519
|
return Re() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
520
520
|
}
|
|
521
|
-
const Te = () => import("./block-styles.
|
|
521
|
+
const Te = () => import("./block-styles.d7d7aa69.js").then((t) => t.default).catch((t) => {
|
|
522
522
|
throw console.error(
|
|
523
523
|
"Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
|
|
524
524
|
t
|
|
525
525
|
), t;
|
|
526
|
-
}), Ie = () => import("./render-block.
|
|
526
|
+
}), Ie = () => import("./render-block.68538b72.js").then((t) => t.default).catch((t) => {
|
|
527
527
|
throw console.error(
|
|
528
528
|
"Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
|
|
529
529
|
t
|
|
@@ -581,7 +581,7 @@ const Te = () => import("./block-styles.ed7736cd.js").then((t) => t.default).cat
|
|
|
581
581
|
};
|
|
582
582
|
var Ee = function() {
|
|
583
583
|
var e = this, n = e._self._c;
|
|
584
|
-
return n("div", { class: e._classStringToObject(e.className + " div-
|
|
584
|
+
return n("div", { class: e._classStringToObject(e.className + " div-21azgz5avex"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
|
|
585
585
|
class: e.className
|
|
586
586
|
} }, on: { click: function(o) {
|
|
587
587
|
return e.onClick();
|
|
@@ -598,7 +598,7 @@ var Ee = function() {
|
|
|
598
598
|
Ae,
|
|
599
599
|
!1,
|
|
600
600
|
null,
|
|
601
|
-
"
|
|
601
|
+
"7d4553c5",
|
|
602
602
|
null,
|
|
603
603
|
null
|
|
604
604
|
);
|
|
@@ -898,13 +898,13 @@ const je = Fe.exports, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
898
898
|
t.delete("srcset"), t.delete("noWebp");
|
|
899
899
|
function n(i, l = 6e4) {
|
|
900
900
|
return new Promise((a, c) => {
|
|
901
|
-
const
|
|
901
|
+
const d = document.createElement("img");
|
|
902
902
|
let m = !1;
|
|
903
|
-
|
|
904
|
-
m = !0, a(
|
|
905
|
-
},
|
|
906
|
-
console.warn("Image load failed",
|
|
907
|
-
}),
|
|
903
|
+
d.onload = () => {
|
|
904
|
+
m = !0, a(d);
|
|
905
|
+
}, d.addEventListener("error", (u) => {
|
|
906
|
+
console.warn("Image load failed", u.error), c(u.error);
|
|
907
|
+
}), d.src = i, setTimeout(() => {
|
|
908
908
|
m || c(new Error("Image load timed out"));
|
|
909
909
|
}, l);
|
|
910
910
|
});
|
|
@@ -1069,9 +1069,9 @@ var Ne = function() {
|
|
|
1069
1069
|
return n("section", e._g(e._b({ style: {
|
|
1070
1070
|
width: "100%",
|
|
1071
1071
|
alignSelf: "stretch",
|
|
1072
|
-
flexGrow:
|
|
1072
|
+
flexGrow: 1,
|
|
1073
1073
|
boxSizing: "border-box",
|
|
1074
|
-
maxWidth:
|
|
1074
|
+
maxWidth: e.maxWidth || 1200,
|
|
1075
1075
|
display: "flex",
|
|
1076
1076
|
flexDirection: "column",
|
|
1077
1077
|
alignItems: "stretch",
|
|
@@ -1293,16 +1293,16 @@ const A = "builder.", st = "options.", rt = (t) => {
|
|
|
1293
1293
|
throw new Error("Missing API key");
|
|
1294
1294
|
const c = new URL(
|
|
1295
1295
|
`https://cdn.builder.io/api/v2/content/${r}?apiKey=${i}&limit=${e}&noTraverse=${s}&includeRefs=${l}${a ? `&locale=${a}` : ""}`
|
|
1296
|
-
),
|
|
1296
|
+
), d = {
|
|
1297
1297
|
...at(),
|
|
1298
1298
|
...M(t.options || {})
|
|
1299
|
-
}, m = C(
|
|
1300
|
-
for (const
|
|
1301
|
-
c.searchParams.set(
|
|
1299
|
+
}, m = C(d);
|
|
1300
|
+
for (const u in m)
|
|
1301
|
+
c.searchParams.set(u, String(m[u]));
|
|
1302
1302
|
if (n && c.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
1303
|
-
const
|
|
1304
|
-
for (const g in
|
|
1305
|
-
c.searchParams.set(g, JSON.stringify(
|
|
1303
|
+
const u = C({ query: o });
|
|
1304
|
+
for (const g in u)
|
|
1305
|
+
c.searchParams.set(g, JSON.stringify(u[g]));
|
|
1306
1306
|
}
|
|
1307
1307
|
return c;
|
|
1308
1308
|
};
|
|
@@ -1316,14 +1316,14 @@ async function ct(t) {
|
|
|
1316
1316
|
await ot({ item: r, canTrack: s });
|
|
1317
1317
|
return o;
|
|
1318
1318
|
}
|
|
1319
|
-
const
|
|
1319
|
+
const ut = () => Promise.resolve().then(() => Rn).then((t) => t.default).catch((t) => {
|
|
1320
1320
|
throw console.error(
|
|
1321
1321
|
"Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
|
|
1322
1322
|
t
|
|
1323
1323
|
), t;
|
|
1324
|
-
}),
|
|
1324
|
+
}), dt = {
|
|
1325
1325
|
name: "builder-symbol",
|
|
1326
|
-
components: { RenderContent:
|
|
1326
|
+
components: { RenderContent: ut },
|
|
1327
1327
|
props: ["attributes", "symbol", "dynamic"],
|
|
1328
1328
|
data() {
|
|
1329
1329
|
return { fetchedContent: null };
|
|
@@ -1406,7 +1406,7 @@ var mt = function() {
|
|
|
1406
1406
|
...(i = (r = (s = e.symbol) == null ? void 0 : s.content) == null ? void 0 : r.data) == null ? void 0 : i.state
|
|
1407
1407
|
}, model: (l = e.symbol) == null ? void 0 : l.model, content: e.contentToUse } })], 1);
|
|
1408
1408
|
}, pt = [], ft = /* @__PURE__ */ f(
|
|
1409
|
-
|
|
1409
|
+
dt,
|
|
1410
1410
|
mt,
|
|
1411
1411
|
pt,
|
|
1412
1412
|
!1,
|
|
@@ -2014,8 +2014,8 @@ const H = "builderSessionId", en = async ({
|
|
|
2014
2014
|
return t.pathname === "" && (t.pathname = "/"), t;
|
|
2015
2015
|
} else
|
|
2016
2016
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
2017
|
-
},
|
|
2018
|
-
const t =
|
|
2017
|
+
}, un = () => typeof navigator == "object" && navigator.userAgent || "", dn = () => {
|
|
2018
|
+
const t = un(), e = {
|
|
2019
2019
|
Android() {
|
|
2020
2020
|
return t.match(/Android/i);
|
|
2021
2021
|
},
|
|
@@ -2065,7 +2065,7 @@ const H = "builderSessionId", en = async ({
|
|
|
2065
2065
|
...o
|
|
2066
2066
|
},
|
|
2067
2067
|
...await mn({ canTrack: e }),
|
|
2068
|
-
userAttributes:
|
|
2068
|
+
userAttributes: dn(),
|
|
2069
2069
|
ownerId: n
|
|
2070
2070
|
}
|
|
2071
2071
|
});
|
|
@@ -2159,7 +2159,7 @@ const fn = (t, e, n = !0) => {
|
|
|
2159
2159
|
"Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
|
|
2160
2160
|
t
|
|
2161
2161
|
), t;
|
|
2162
|
-
}), _n = () => import("./render-styles.
|
|
2162
|
+
}), _n = () => import("./render-styles.31ad9a17.js").then((t) => t.default).catch((t) => {
|
|
2163
2163
|
throw console.error(
|
|
2164
2164
|
"Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
|
|
2165
2165
|
t
|
|
@@ -2442,11 +2442,11 @@ const fn = (t, e, n = !0) => {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
var kn = function() {
|
|
2445
|
-
var o, s, r, i, l, a, c,
|
|
2445
|
+
var o, s, r, i, l, a, c, d;
|
|
2446
2446
|
var e = this, n = e._self._c;
|
|
2447
2447
|
return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(m) {
|
|
2448
2448
|
return e.onClick(m);
|
|
2449
|
-
} } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { contentId: (s = e.useContent) == null ? void 0 : s.id, cssCode: (i = (r = e.useContent) == null ? void 0 : r.data) == null ? void 0 : i.cssCode, customFonts: (a = (l = e.useContent) == null ? void 0 : l.data) == null ? void 0 : a.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (
|
|
2449
|
+
} } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { contentId: (s = e.useContent) == null ? void 0 : s.id, cssCode: (i = (r = e.useContent) == null ? void 0 : r.data) == null ? void 0 : i.cssCode, customFonts: (a = (l = e.useContent) == null ? void 0 : l.data) == null ? void 0 : a.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (d = (c = e.useContent) == null ? void 0 : c.data) == null ? void 0 : d.blocks } })], 2) : e._e();
|
|
2450
2450
|
}, Cn = [], Sn = /* @__PURE__ */ f(
|
|
2451
2451
|
xn,
|
|
2452
2452
|
kn,
|
|
@@ -2472,6 +2472,7 @@ function An(t) {
|
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
export {
|
|
2475
|
+
M as A,
|
|
2475
2476
|
_ as B,
|
|
2476
2477
|
pe as C,
|
|
2477
2478
|
ye as F,
|
|
@@ -2479,30 +2480,30 @@ export {
|
|
|
2479
2480
|
ze as S,
|
|
2480
2481
|
v as T,
|
|
2481
2482
|
Tt as V,
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2483
|
+
In as a,
|
|
2484
|
+
Tn as b,
|
|
2485
|
+
b as c,
|
|
2486
|
+
re as d,
|
|
2486
2487
|
F as e,
|
|
2487
2488
|
w as f,
|
|
2488
2489
|
oe as g,
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2490
|
+
ne as h,
|
|
2491
|
+
wn as i,
|
|
2492
|
+
ht as j,
|
|
2493
|
+
xt as k,
|
|
2494
|
+
h as l,
|
|
2495
|
+
Jt as m,
|
|
2495
2496
|
f as n,
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2497
|
+
K as o,
|
|
2498
|
+
$n as p,
|
|
2499
|
+
Xt as q,
|
|
2499
2500
|
je as r,
|
|
2500
|
-
|
|
2501
|
+
J as s,
|
|
2501
2502
|
En as t,
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2503
|
+
An as u,
|
|
2504
|
+
z as v,
|
|
2505
|
+
ct as w,
|
|
2506
|
+
rt as x,
|
|
2507
|
+
it as y,
|
|
2508
|
+
at as z
|
|
2508
2509
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { e as
|
|
2
|
-
import { g as p } from "./get-processed-block.
|
|
3
|
-
const
|
|
1
|
+
import { e as u, T as m, d, c as l, n as h } from "./index.ea6d5c33.js";
|
|
2
|
+
import { g as p } from "./get-processed-block.ef627078.js";
|
|
3
|
+
const k = (e) => `v-on:${e.toLowerCase()}`, f = (e, t) => (n) => u({
|
|
4
4
|
code: e,
|
|
5
5
|
context: t.context,
|
|
6
6
|
state: t.state,
|
|
7
7
|
event: n,
|
|
8
8
|
isExpression: !1
|
|
9
9
|
});
|
|
10
|
-
function
|
|
10
|
+
function x(e) {
|
|
11
11
|
var r;
|
|
12
12
|
const t = {}, n = (r = e.block.actions) != null ? r : {};
|
|
13
13
|
for (const o in n) {
|
|
14
14
|
if (!n.hasOwnProperty(o))
|
|
15
15
|
continue;
|
|
16
16
|
const s = n[o];
|
|
17
|
-
t[
|
|
17
|
+
t[k(o)] = f(s, e);
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function y(e) {
|
|
22
22
|
var t;
|
|
23
23
|
return {
|
|
24
24
|
...(t = e.component) == null ? void 0 : t.options,
|
|
@@ -35,10 +35,10 @@ function b(e) {
|
|
|
35
35
|
t[r] = !0;
|
|
36
36
|
return t;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function g(e) {
|
|
39
39
|
return e.class = b(e.class), e;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function B(e) {
|
|
42
42
|
var n;
|
|
43
43
|
const t = {
|
|
44
44
|
...e.properties,
|
|
@@ -46,16 +46,16 @@ function g(e) {
|
|
|
46
46
|
style: v(e.style),
|
|
47
47
|
class: [e.id, "builder-block", e.class, (n = e.properties) == null ? void 0 : n.class].filter(Boolean).join(" ")
|
|
48
48
|
};
|
|
49
|
-
return
|
|
49
|
+
return g(t);
|
|
50
50
|
}
|
|
51
51
|
function v(e) {
|
|
52
52
|
if (!!e)
|
|
53
|
-
switch (
|
|
53
|
+
switch (m) {
|
|
54
54
|
case "svelte":
|
|
55
55
|
case "vue2":
|
|
56
56
|
case "vue3":
|
|
57
57
|
case "solid":
|
|
58
|
-
return
|
|
58
|
+
return d(e).join(" ");
|
|
59
59
|
case "qwik":
|
|
60
60
|
case "reactNative":
|
|
61
61
|
case "react":
|
|
@@ -81,7 +81,7 @@ const _ = [
|
|
|
81
81
|
"source",
|
|
82
82
|
"track",
|
|
83
83
|
"wbr"
|
|
84
|
-
],
|
|
84
|
+
], w = (e) => typeof e == "string" && _.includes(e.toLowerCase()), S = ({
|
|
85
85
|
block: e,
|
|
86
86
|
context: t
|
|
87
87
|
}) => {
|
|
@@ -100,14 +100,14 @@ const _ = [
|
|
|
100
100
|
console.warn(`
|
|
101
101
|
Could not find a registered component named "${n}".
|
|
102
102
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
103
|
-
},
|
|
103
|
+
}, E = ({
|
|
104
104
|
block: e,
|
|
105
105
|
context: t
|
|
106
106
|
}) => {
|
|
107
107
|
const { repeat: n, ...r } = e;
|
|
108
108
|
if (!(n != null && n.collection))
|
|
109
109
|
return;
|
|
110
|
-
const o =
|
|
110
|
+
const o = u({
|
|
111
111
|
code: n.collection,
|
|
112
112
|
state: t.state,
|
|
113
113
|
context: t.context
|
|
@@ -128,17 +128,17 @@ const _ = [
|
|
|
128
128
|
},
|
|
129
129
|
block: r
|
|
130
130
|
}));
|
|
131
|
-
}, P = () => import("./block-styles.
|
|
131
|
+
}, P = () => import("./block-styles.d7d7aa69.js").then((e) => e.default).catch((e) => {
|
|
132
132
|
throw console.error(
|
|
133
133
|
"Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",
|
|
134
134
|
e
|
|
135
135
|
), e;
|
|
136
|
-
}),
|
|
136
|
+
}), R = () => import("./render-repeated-block.c577be97.js").then((e) => e.default).catch((e) => {
|
|
137
137
|
throw console.error(
|
|
138
138
|
"Error while attempting to dynamically import component RenderRepeatedBlock at ./render-repeated-block.vue",
|
|
139
139
|
e
|
|
140
140
|
), e;
|
|
141
|
-
}),
|
|
141
|
+
}), I = () => import("./render-component.d5a06a9f.js").then((e) => e.default).catch((e) => {
|
|
142
142
|
throw console.error(
|
|
143
143
|
"Error while attempting to dynamically import component RenderComponent at ./render-component.vue",
|
|
144
144
|
e
|
|
@@ -146,22 +146,22 @@ const _ = [
|
|
|
146
146
|
}), O = {
|
|
147
147
|
name: "render-block",
|
|
148
148
|
components: {
|
|
149
|
-
RenderComponent:
|
|
150
|
-
RenderRepeatedBlock:
|
|
149
|
+
RenderComponent: I,
|
|
150
|
+
RenderRepeatedBlock: R,
|
|
151
151
|
BlockStyles: P
|
|
152
152
|
},
|
|
153
153
|
props: ["block", "context"],
|
|
154
154
|
data() {
|
|
155
155
|
return {
|
|
156
|
-
component:
|
|
156
|
+
component: S({
|
|
157
157
|
block: this.block,
|
|
158
158
|
context: this.context
|
|
159
159
|
}),
|
|
160
|
-
repeatItemData:
|
|
160
|
+
repeatItemData: E({
|
|
161
161
|
block: this.block,
|
|
162
162
|
context: this.context
|
|
163
163
|
}),
|
|
164
|
-
isEmptyHtmlElement:
|
|
164
|
+
isEmptyHtmlElement: w
|
|
165
165
|
};
|
|
166
166
|
},
|
|
167
167
|
computed: {
|
|
@@ -176,6 +176,9 @@ const _ = [
|
|
|
176
176
|
shouldEvaluateBindings: !0
|
|
177
177
|
});
|
|
178
178
|
},
|
|
179
|
+
canShowBlock() {
|
|
180
|
+
return l(this.useBlock.hide) ? !this.useBlock.hide : l(this.useBlock.show) ? this.useBlock.show : !0;
|
|
181
|
+
},
|
|
179
182
|
proxyState() {
|
|
180
183
|
return typeof Proxy > "u" ? (console.error(
|
|
181
184
|
"no Proxy available in this environment, cannot proxy state."
|
|
@@ -187,7 +190,7 @@ const _ = [
|
|
|
187
190
|
});
|
|
188
191
|
},
|
|
189
192
|
actions() {
|
|
190
|
-
return
|
|
193
|
+
return x({
|
|
191
194
|
block: this.useBlock,
|
|
192
195
|
state: this.proxyState,
|
|
193
196
|
context: this.context.context
|
|
@@ -195,7 +198,7 @@ const _ = [
|
|
|
195
198
|
},
|
|
196
199
|
attributes() {
|
|
197
200
|
return {
|
|
198
|
-
...
|
|
201
|
+
...B(this.useBlock)
|
|
199
202
|
};
|
|
200
203
|
},
|
|
201
204
|
renderComponentProps() {
|
|
@@ -204,7 +207,7 @@ const _ = [
|
|
|
204
207
|
blockChildren: (e = this.useBlock.children) != null ? e : [],
|
|
205
208
|
componentRef: (t = this.component) == null ? void 0 : t.component,
|
|
206
209
|
componentOptions: {
|
|
207
|
-
...
|
|
210
|
+
...y(this.useBlock),
|
|
208
211
|
...(n = this.component) != null && n.noWrap ? {
|
|
209
212
|
attributes: {
|
|
210
213
|
...this.attributes,
|
|
@@ -247,14 +250,14 @@ const _ = [
|
|
|
247
250
|
var T = function() {
|
|
248
251
|
var r;
|
|
249
252
|
var t = this, n = t._self._c;
|
|
250
|
-
return Boolean(!((r = t.component) != null && r.noWrap)) ? t.isEmptyHtmlElement(t.tag) ? n(t.tag, t._g(t._b({ tag: "component" }, "component", t.attributes, !1), t.stripVOn(t.actions))) : !t.isEmptyHtmlElement(t.tag) && t.repeatItemData ? n("div", { staticClass: "vue2-root-element-workaround" }, t._l(t.repeatItemData, function(o, s) {
|
|
253
|
+
return !Boolean(!((r = t.component) != null && r.noWrap)) && t.canShowBlock ? n("render-component", t._b({}, "render-component", t.renderComponentProps, !1)) : t.isEmptyHtmlElement(t.tag) && t.canShowBlock ? n(t.tag, t._g(t._b({ tag: "component" }, "component", t.attributes, !1), t.stripVOn(t.actions))) : !t.isEmptyHtmlElement(t.tag) && t.repeatItemData && t.canShowBlock ? n("div", { staticClass: "vue2-root-element-workaround" }, t._l(t.repeatItemData, function(o, s) {
|
|
251
254
|
return n("render-repeated-block", { key: s, attrs: { repeatContext: o.context, block: o.block } });
|
|
252
|
-
}), 1) : n(t.tag, t._g(t._b({ tag: "component" }, "component", t.attributes, !1), t.stripVOn(t.actions)), [n("render-component", t._b({}, "render-component", t.renderComponentProps, !1)), t._l(t.childrenWithoutParentComponent, function(o, s) {
|
|
255
|
+
}), 1) : t.canShowBlock ? n(t.tag, t._g(t._b({ tag: "component" }, "component", t.attributes, !1), t.stripVOn(t.actions)), [n("render-component", t._b({}, "render-component", t.renderComponentProps, !1)), t._l(t.childrenWithoutParentComponent, function(o, s) {
|
|
253
256
|
return n("render-block", { key: "render-block-" + o.id, attrs: { block: o, context: t.childrenContext } });
|
|
254
257
|
}), t._l(t.childrenWithoutParentComponent, function(o, s) {
|
|
255
258
|
return n("block-styles", { key: "block-style-" + o.id, attrs: { block: o, context: t.childrenContext } });
|
|
256
|
-
})], 2) :
|
|
257
|
-
}, A = [],
|
|
259
|
+
})], 2) : t._e();
|
|
260
|
+
}, A = [], N = /* @__PURE__ */ h(
|
|
258
261
|
O,
|
|
259
262
|
T,
|
|
260
263
|
A,
|
|
@@ -264,7 +267,7 @@ var T = function() {
|
|
|
264
267
|
null,
|
|
265
268
|
null
|
|
266
269
|
);
|
|
267
|
-
const
|
|
270
|
+
const $ = N.exports;
|
|
268
271
|
export {
|
|
269
|
-
|
|
272
|
+
$ as default
|
|
270
273
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.bef62fde.cjs"),u=require("./get-processed-block.d3c744f7.cjs"),d=t=>`v-on:${t.toLowerCase()}`,p=(t,e)=>n=>c.evaluate({code:t,context:e.context,state:e.state,event:n,isExpression:!1});function m(t){var r;const e={},n=(r=t.block.actions)!=null?r:{};for(const o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];e[d(o)]=p(s,t)}return e}function h(t){var e;return{...(e=t.component)==null?void 0:e.options,...t.options,builderBlock:t}}function k(t){const e={};if(typeof t!="string")return e;const n=t.trim().split(/\\s+/);for(const r of n)e[r]=!0;return e}function f(t){return t.class=k(t.class),t}function b(t){var n;const e={...t.properties,"builder-id":t.id,style:x(t.style),class:[t.id,"builder-block",t.class,(n=t.properties)==null?void 0:n.class].filter(Boolean).join(" ")};return f(e)}function x(t){if(!!t)switch(c.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return c.convertStyleMapToCSSArray(t).join(" ");case"qwik":case"reactNative":case"react":return t}}function y(t){return t.tagName||"div"}const g=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],v=t=>typeof t=="string"&&g.includes(t.toLowerCase()),B=({block:t,context:e})=>{var o;const n=(o=u.getProcessedBlock({block:t,state:e.state,context:e.context,shouldEvaluateBindings:!1}).component)==null?void 0:o.name;if(!n)return null;const r=e.registeredComponents[n];if(r)return r;console.warn(`
|
|
2
|
+
Could not find a registered component named "${n}".
|
|
3
|
+
If you registered it, is the file that registered it imported by the file that needs to render it?`)},C=({block:t,context:e})=>{const{repeat:n,...r}=t;if(!(n!=null&&n.collection))return;const o=c.evaluate({code:n.collection,state:e.state,context:e.context});if(!Array.isArray(o))return;const s=n.collection.split(".").pop(),i=n.itemName||(s?s+"Item":"item");return o.map((a,l)=>({context:{...e,state:{...e.state,$index:l,$item:a,[i]:a,[`$${i}Index`]:l}},block:r}))},_=()=>Promise.resolve().then(()=>require("./block-styles.f25ea71f.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",t),t}),S=()=>Promise.resolve().then(()=>require("./render-repeated-block.9563405f.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderRepeatedBlock at ./render-repeated-block.vue",t),t}),w=()=>Promise.resolve().then(()=>require("./render-component.fa85c266.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderComponent at ./render-component.vue",t),t}),P={name:"render-block",components:{RenderComponent:w,RenderRepeatedBlock:S,BlockStyles:_},props:["block","context"],data(){return{component:B({block:this.block,context:this.context}),repeatItemData:C({block:this.block,context:this.context}),isEmptyHtmlElement:v}},computed:{tag(){return y(this.useBlock)},useBlock(){return this.repeatItemData?this.block:u.getProcessedBlock({block:this.block,state:this.context.state,context:this.context.context,shouldEvaluateBindings:!0})},canShowBlock(){return c.checkIsDefined(this.useBlock.hide)?!this.useBlock.hide:c.checkIsDefined(this.useBlock.show)?this.useBlock.show:!0},proxyState(){return typeof Proxy>"u"?(console.error("no Proxy available in this environment, cannot proxy state."),this.context.state):new Proxy(this.context.state,{set:(e,n,r)=>{var o,s;return e[n]=r,(s=(o=this.context).setState)==null||s.call(o,e),!0}})},actions(){return m({block:this.useBlock,state:this.proxyState,context:this.context.context})},attributes(){return{...b(this.useBlock)}},renderComponentProps(){var t,e,n;return{blockChildren:(t=this.useBlock.children)!=null?t:[],componentRef:(e=this.component)==null?void 0:e.component,componentOptions:{...h(this.useBlock),...(n=this.component)!=null&&n.noWrap?{attributes:{...this.attributes,...this.actions}}:{}},context:this.childrenContext}},childrenWithoutParentComponent(){var e,n;return!((e=this.component)!=null&&e.component)&&!this.repeatItemData?(n=this.useBlock.children)!=null?n:[]:[]},childrenContext(){const t=()=>({});return{apiKey:this.context.apiKey,state:this.context.state,content:this.context.content,context:this.context.context,setState:this.context.setState,registeredComponents:this.context.registeredComponents,inheritedStyles:t()}}},methods:{stripVOn:function(e={}){return Object.keys(e).reduce((n,r)=>({...n,[r.replace("v-on:","")]:e[r]}),{})}}};var E=function(){var r;var e=this,n=e._self._c;return!Boolean(!((r=e.component)!=null&&r.noWrap))&&e.canShowBlock?n("render-component",e._b({},"render-component",e.renderComponentProps,!1)):e.isEmptyHtmlElement(e.tag)&&e.canShowBlock?n(e.tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions))):!e.isEmptyHtmlElement(e.tag)&&e.repeatItemData&&e.canShowBlock?n("div",{staticClass:"vue2-root-element-workaround"},e._l(e.repeatItemData,function(o,s){return n("render-repeated-block",{key:s,attrs:{repeatContext:o.context,block:o.block}})}),1):e.canShowBlock?n(e.tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions)),[n("render-component",e._b({},"render-component",e.renderComponentProps,!1)),e._l(e.childrenWithoutParentComponent,function(o,s){return n("render-block",{key:"render-block-"+o.id,attrs:{block:o,context:e.childrenContext}})}),e._l(e.childrenWithoutParentComponent,function(o,s){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.childrenContext}})})],2):e._e()},R=[],I=c.normalizeComponent(P,E,R,!1,null,null,null,null);const O=I.exports;exports.default=O;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as c } from "./index.
|
|
2
|
-
const l = () => import("./block-styles.
|
|
1
|
+
import { n as c } from "./index.ea6d5c33.js";
|
|
2
|
+
const l = () => import("./block-styles.d7d7aa69.js").then((o) => o.default).catch((o) => {
|
|
3
3
|
throw console.error(
|
|
4
4
|
"Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",
|
|
5
5
|
o
|
|
6
6
|
), o;
|
|
7
|
-
}), s = () => import("./render-block.
|
|
7
|
+
}), s = () => import("./render-block.68538b72.js").then((o) => o.default).catch((o) => {
|
|
8
8
|
throw console.error(
|
|
9
9
|
"Error while attempting to dynamically import component RenderBlock at ./render-block.vue",
|
|
10
10
|
o
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.bef62fde.cjs"),l=()=>Promise.resolve().then(()=>require("./block-styles.f25ea71f.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",n),n}),s=()=>Promise.resolve().then(()=>require("./render-block.8a810b21.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component RenderBlock at ./render-block.vue",n),n}),i={name:"render-component",components:{RenderBlock:s,BlockStyles:l},props:["componentRef","componentOptions","blockChildren","context"]};var a=function(){var e=this,t=e._self._c;return e.componentRef?t(e.componentRef,e._b({tag:"component"},"component",e.componentOptions,!1),[e._l(e.blockChildren,function(o,r){return t("render-block",{key:"render-block-"+o.id,attrs:{block:o,context:e.context}})}),e._l(e.blockChildren,function(o,r){return t("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.context}})})],2):e._e()},m=[],d=c.normalizeComponent(i,a,m,!1,null,null,null,null);const p=d.exports;exports.default=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.bef62fde.cjs"),s={name:"render-inlined-styles",props:["styles"],data(){return{TARGET:n.TARGET}},computed:{injectedStyleScript(){return`<${this.tag}>${this.styles}</${this.tag}>`},tag(){return"style"}}};var r=function(){var e=this,t=e._self._c;return e.TARGET==="svelte"||e.TARGET==="qwik"?t(e.tag,{tag:"component",domProps:{innerHTML:e._s(e.styles)}}):t(e.tag,{tag:"component"},[e._v(e._s(e.styles))])},l=[],o=n.normalizeComponent(s,r,l,!1,null,null,null,null);const a=o.exports;exports.default=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.bef62fde.cjs"),o=()=>Promise.resolve().then(()=>require("./render-block.8a810b21.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component RenderBlock at ./render-block.vue",e),e}),c={name:"render-repeated-block",components:{RenderBlock:o},props:["block","repeatContext"],provide(){const e=this;return{[n.BuilderContext.key]:{content:e.repeatContext.content,state:e.repeatContext.state,setState:e.repeatContext.setState,context:e.repeatContext.context,apiKey:e.repeatContext.apiKey,registeredComponents:e.repeatContext.registeredComponents,inheritedStyles:e.repeatContext.inheritedStyles}}}};var a=function(){var t=this,r=t._self._c;return r("render-block",{attrs:{block:t.block,context:t.repeatContext}})},s=[],l=n.normalizeComponent(c,a,s,!1,null,null,null,null);const i=l.exports;exports.default=i;
|
package/packages/_vue2/dist/{render-repeated-block.e773db2b.js → render-repeated-block.c577be97.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as o, n as r } from "./index.
|
|
2
|
-
const a = () => import("./render-block.
|
|
1
|
+
import { B as o, n as r } from "./index.ea6d5c33.js";
|
|
2
|
+
const a = () => import("./render-block.68538b72.js").then((e) => e.default).catch((e) => {
|
|
3
3
|
throw console.error(
|
|
4
4
|
"Error while attempting to dynamically import component RenderBlock at ./render-block.vue",
|
|
5
5
|
e
|