@builder.io/sdk-vue 0.11.3 → 0.11.5
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/lib/browser/{block-styles.6d4042d1.cjs → block-styles.547deda7.cjs} +1 -1
- package/lib/browser/{block-styles.4dd5487a.js → block-styles.7d354d56.js} +2 -2
- package/lib/browser/{block-wrapper.d76c58a5.cjs → block-wrapper.3999844a.cjs} +1 -1
- package/lib/browser/{block-wrapper.56a0b862.js → block-wrapper.c1399cc7.js} +3 -3
- package/lib/browser/{component-ref.6b764356.js → component-ref.1980ea37.js} +3 -3
- package/lib/browser/{component-ref.c01f28a8.cjs → component-ref.6369d7ce.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +12 -0
- package/lib/browser/components/content/content.helpers.d.ts +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{css.bee71b93.js → css.c5dbc2fb.js} +1 -1
- package/lib/browser/{css.c905e549.cjs → css.f13f9668.cjs} +1 -1
- package/lib/browser/{get-block-actions.ea82379d.js → get-block-actions.9e78e08c.js} +2 -2
- package/lib/browser/{get-block-actions.6c569f39.cjs → get-block-actions.be9b24f4.cjs} +1 -1
- package/lib/browser/{index.e420a426.cjs → index.2d468b02.cjs} +9 -9
- package/lib/browser/{index.cf8f3cf0.js → index.68f1cdc9.js} +111 -76
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block.0e1c5e05.cjs → repeated-block.5177bff6.cjs} +1 -1
- package/lib/browser/{repeated-block.a2b6e71d.js → repeated-block.d0d6536d.js} +2 -2
- package/lib/edge/{block-styles.6941072a.cjs → block-styles.7036106d.cjs} +1 -1
- package/lib/edge/{block-styles.c251cc50.js → block-styles.9a6f909a.js} +2 -2
- package/lib/edge/{block-wrapper.a4b57a19.cjs → block-wrapper.87aa285f.cjs} +1 -1
- package/lib/edge/{block-wrapper.17244a32.js → block-wrapper.f0edc57e.js} +3 -3
- package/lib/edge/{component-ref.c6ef9f36.cjs → component-ref.06dc7198.cjs} +1 -1
- package/lib/edge/{component-ref.a9555536.js → component-ref.fae2958f.js} +3 -3
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +12 -0
- package/lib/edge/components/content/content.helpers.d.ts +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/{node/css.9a474d8f.js → edge/css.b1595c13.js} +1 -1
- package/lib/{node/css.92fd0ea1.cjs → edge/css.d468e49f.cjs} +1 -1
- package/lib/{node/get-block-actions.f7b1ef76.js → edge/get-block-actions.6c32fbdc.js} +2 -2
- package/lib/edge/{get-block-actions.c862ea25.cjs → get-block-actions.de0e3a7c.cjs} +1 -1
- package/lib/edge/{index.6014202a.cjs → index.b0c8c979.cjs} +12 -12
- package/lib/edge/{index.6b327d2e.js → index.b3a91e74.js} +151 -116
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block.409149dc.cjs → repeated-block.4e5fe8a8.cjs} +1 -1
- package/lib/edge/{repeated-block.2b8fbf14.js → repeated-block.cddb5408.js} +2 -2
- package/lib/node/{block-styles.daaf5082.cjs → block-styles.17b53563.cjs} +1 -1
- package/lib/node/{block-styles.b4e350c6.js → block-styles.d0b46cf1.js} +2 -2
- package/lib/node/{block-wrapper.7ec7b19a.cjs → block-wrapper.ba583c5e.cjs} +1 -1
- package/lib/node/{block-wrapper.35fb80b6.js → block-wrapper.beb0b154.js} +3 -3
- package/lib/node/{component-ref.2211624f.js → component-ref.3600c82e.js} +3 -3
- package/lib/node/{component-ref.04b89158.cjs → component-ref.d338ff58.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +12 -0
- package/lib/node/components/content/content.helpers.d.ts +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/{edge/css.a1099f86.cjs → node/css.33f6a0e5.cjs} +1 -1
- package/lib/{edge/css.d3b9ec3d.js → node/css.7b7d6045.js} +1 -1
- package/lib/node/{get-block-actions.b15d24e5.cjs → get-block-actions.a9c7f214.cjs} +1 -1
- package/lib/{edge/get-block-actions.f0aac0c8.js → node/get-block-actions.da279770.js} +2 -2
- package/lib/node/{index.29fcda33.js → index.7a458aa4.js} +44 -9
- package/lib/node/index.cjs +1 -1
- package/lib/node/{index.c9e2c835.cjs → index.ff428090.cjs} +6 -6
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block.f9ea4988.js → repeated-block.3c6c86a9.js} +2 -2
- package/lib/node/{repeated-block.bf2609f9.cjs → repeated-block.5d392271.cjs} +1 -1
- package/package.json +11 -45
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as f, openBlock as d, createElementBlock as p, mergeProps as C, toHandlers as O, toDisplayString as se, defineAsyncComponent as M, resolveComponent as k, Fragment as
|
|
2
|
+
import { defineComponent as f, openBlock as d, createElementBlock as p, mergeProps as C, toHandlers as O, toDisplayString as se, defineAsyncComponent as M, resolveComponent as k, Fragment as R, createVNode as P, createBlock as y, createCommentVNode as g, renderList as N, withCtx as j, resolveDynamicComponent as ke, renderSlot as x, h as ye, createElementVNode as J, normalizeStyle as Y, normalizeClass as ve, markRaw as ze } from "vue";
|
|
3
3
|
function z(e = {}, t, n) {
|
|
4
4
|
const o = {};
|
|
5
5
|
for (const r in e) {
|
|
@@ -86,7 +86,7 @@ function v() {
|
|
|
86
86
|
function et() {
|
|
87
87
|
return v() && window.self !== window.top;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function $() {
|
|
90
90
|
return et() && (T === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
|
|
91
91
|
}
|
|
92
92
|
const tt = () => {
|
|
@@ -133,7 +133,7 @@ const tt = () => {
|
|
|
133
133
|
context: t,
|
|
134
134
|
event: n
|
|
135
135
|
}), rt = () => ({
|
|
136
|
-
isEditing:
|
|
136
|
+
isEditing: $(),
|
|
137
137
|
isBrowser: v(),
|
|
138
138
|
isServer: !v(),
|
|
139
139
|
getUserAttributes: () => Ce()
|
|
@@ -310,22 +310,22 @@ const dt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
310
310
|
},
|
|
311
311
|
block: o
|
|
312
312
|
}));
|
|
313
|
-
}, ht = () => import("./block-styles.
|
|
313
|
+
}, ht = () => import("./block-styles.7d354d56.js").then((e) => e.default).catch((e) => {
|
|
314
314
|
throw console.error(
|
|
315
315
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
316
316
|
e
|
|
317
317
|
), e;
|
|
318
|
-
}), ft = () => import("./block-wrapper.
|
|
318
|
+
}), ft = () => import("./block-wrapper.c1399cc7.js").then((e) => e.default).catch((e) => {
|
|
319
319
|
throw console.error(
|
|
320
320
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
321
321
|
e
|
|
322
322
|
), e;
|
|
323
|
-
}), bt = () => import("./component-ref.
|
|
323
|
+
}), bt = () => import("./component-ref.1980ea37.js").then((e) => e.default).catch((e) => {
|
|
324
324
|
throw console.error(
|
|
325
325
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
326
326
|
e
|
|
327
327
|
), e;
|
|
328
|
-
}), gt = () => import("./repeated-block.
|
|
328
|
+
}), gt = () => import("./repeated-block.d0d6536d.js").then((e) => e.default).catch((e) => {
|
|
329
329
|
throw console.error(
|
|
330
330
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
331
331
|
e
|
|
@@ -405,7 +405,7 @@ const dt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
405
405
|
function yt(e, t, n, o, r, i) {
|
|
406
406
|
var m;
|
|
407
407
|
const s = k("block-styles"), a = k("block-wrapper"), l = k("repeated-block"), c = k("component-ref"), u = k("block", !0);
|
|
408
|
-
return e.canShowBlock ? (d(), p(
|
|
408
|
+
return e.canShowBlock ? (d(), p(R, { key: 0 }, [
|
|
409
409
|
P(s, {
|
|
410
410
|
block: e.block,
|
|
411
411
|
context: e.context
|
|
@@ -420,7 +420,7 @@ function yt(e, t, n, o, r, i) {
|
|
|
420
420
|
builderBlock: e.componentRefProps.builderBlock,
|
|
421
421
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
422
422
|
isInteractive: e.componentRefProps.isInteractive
|
|
423
|
-
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (d(), p(
|
|
423
|
+
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"])) : (d(), p(R, { key: 0 }, [
|
|
424
424
|
e.isEmptyHtmlElement(e.Tag) ? (d(), y(a, {
|
|
425
425
|
key: 0,
|
|
426
426
|
Wrapper: e.Tag,
|
|
@@ -428,7 +428,7 @@ function yt(e, t, n, o, r, i) {
|
|
|
428
428
|
context: e.context,
|
|
429
429
|
hasChildren: !1
|
|
430
430
|
}, null, 8, ["Wrapper", "block", "context"])) : g("v-if", !0),
|
|
431
|
-
!e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), p(
|
|
431
|
+
!e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (d(!0), p(R, { key: 1 }, N(e.repeatItem, (h, S) => (d(), y(l, {
|
|
432
432
|
key: S,
|
|
433
433
|
repeatContext: h.context,
|
|
434
434
|
block: h.block,
|
|
@@ -441,7 +441,7 @@ function yt(e, t, n, o, r, i) {
|
|
|
441
441
|
context: e.context,
|
|
442
442
|
hasChildren: !0
|
|
443
443
|
}, {
|
|
444
|
-
default:
|
|
444
|
+
default: j(() => [
|
|
445
445
|
P(c, {
|
|
446
446
|
componentRef: e.componentRefProps.componentRef,
|
|
447
447
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -452,7 +452,7 @@ function yt(e, t, n, o, r, i) {
|
|
|
452
452
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
453
453
|
isInteractive: e.componentRefProps.isInteractive
|
|
454
454
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
455
|
-
(d(!0), p(
|
|
455
|
+
(d(!0), p(R, null, N(e.childrenWithoutParentComponent, (h, S) => (d(), y(u, {
|
|
456
456
|
key: h.id,
|
|
457
457
|
block: h,
|
|
458
458
|
context: e.childrenContext,
|
|
@@ -486,7 +486,7 @@ const Ie = /* @__PURE__ */ b(kt, [["render", yt], ["__file", "/home/runner/work/
|
|
|
486
486
|
methods: {
|
|
487
487
|
onClick() {
|
|
488
488
|
var e, t;
|
|
489
|
-
|
|
489
|
+
$() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
490
490
|
{
|
|
491
491
|
type: "builder.clickEmptyBlocks",
|
|
492
492
|
data: {
|
|
@@ -499,7 +499,7 @@ const Ie = /* @__PURE__ */ b(kt, [["render", yt], ["__file", "/home/runner/work/
|
|
|
499
499
|
},
|
|
500
500
|
onMouseEnter() {
|
|
501
501
|
var e, t;
|
|
502
|
-
|
|
502
|
+
$() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
503
503
|
{
|
|
504
504
|
type: "builder.hoverEmptyBlocks",
|
|
505
505
|
data: {
|
|
@@ -531,7 +531,7 @@ function St(e, t, n, o, r, i) {
|
|
|
531
531
|
onMouseEnter: (s) => e.onMouseEnter(),
|
|
532
532
|
onKeyPress: (s) => e.onClick()
|
|
533
533
|
}, { ...e.BlocksWrapperProps }), {
|
|
534
|
-
default:
|
|
534
|
+
default: j(() => [
|
|
535
535
|
x(e.$slots, "default", {}, void 0, !0)
|
|
536
536
|
]),
|
|
537
537
|
_: 3
|
|
@@ -564,8 +564,8 @@ function It(e, t, n, o, r, i) {
|
|
|
564
564
|
BlocksWrapper: (l = e.context) == null ? void 0 : l.BlocksWrapper,
|
|
565
565
|
BlocksWrapperProps: (c = e.context) == null ? void 0 : c.BlocksWrapperProps
|
|
566
566
|
}, {
|
|
567
|
-
default:
|
|
568
|
-
e.blocks ? (d(!0), p(
|
|
567
|
+
default: j(() => [
|
|
568
|
+
e.blocks ? (d(!0), p(R, { key: 0 }, N(e.blocks, (u, m) => (d(), y(s, {
|
|
569
569
|
key: u.id,
|
|
570
570
|
block: u,
|
|
571
571
|
context: e.context || e.builderContext,
|
|
@@ -575,13 +575,13 @@ function It(e, t, n, o, r, i) {
|
|
|
575
575
|
_: 1
|
|
576
576
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
577
577
|
}
|
|
578
|
-
const ee = /* @__PURE__ */ b(wt, [["render", It], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks.vue"]]),
|
|
578
|
+
const ee = /* @__PURE__ */ b(wt, [["render", It], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks.vue"]]), Rt = f({
|
|
579
579
|
render() {
|
|
580
580
|
return ye("style", { id: this.id, innerHTML: this.styles });
|
|
581
581
|
},
|
|
582
582
|
name: "inlined-styles",
|
|
583
583
|
props: ["styles", "id"]
|
|
584
|
-
}), te = /* @__PURE__ */ b(
|
|
584
|
+
}), te = /* @__PURE__ */ b(Rt, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-styles.vue"]]), Re = {
|
|
585
585
|
small: {
|
|
586
586
|
min: 320,
|
|
587
587
|
default: 321,
|
|
@@ -597,11 +597,11 @@ const ee = /* @__PURE__ */ b(wt, [["render", It], ["__file", "/home/runner/work/
|
|
|
597
597
|
default: 991,
|
|
598
598
|
max: 1200
|
|
599
599
|
}
|
|
600
|
-
}, Jo = (e, t =
|
|
600
|
+
}, Jo = (e, t = Re) => `@media (max-width: ${t[e].max}px)`, $t = ({
|
|
601
601
|
small: e,
|
|
602
602
|
medium: t
|
|
603
603
|
}) => {
|
|
604
|
-
const n = F(
|
|
604
|
+
const n = F(Re);
|
|
605
605
|
if (!e || !t)
|
|
606
606
|
return n;
|
|
607
607
|
const o = Math.floor(e / 2);
|
|
@@ -728,7 +728,7 @@ const ee = /* @__PURE__ */ b(wt, [["render", It], ["__file", "/home/runner/work/
|
|
|
728
728
|
},
|
|
729
729
|
getWidthForBreakpointSize(e) {
|
|
730
730
|
var n, o;
|
|
731
|
-
return
|
|
731
|
+
return $t(
|
|
732
732
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
733
733
|
)[e].max;
|
|
734
734
|
},
|
|
@@ -755,7 +755,7 @@ function Et(e, t, n, o, r, i) {
|
|
|
755
755
|
key: 0,
|
|
756
756
|
styles: e.columnsStyles
|
|
757
757
|
}, null, 8, ["styles"])) : g("v-if", !0),
|
|
758
|
-
(d(!0), p(
|
|
758
|
+
(d(!0), p(R, null, N(e.columns, (l, c) => (d(), p("div", C({
|
|
759
759
|
key: c,
|
|
760
760
|
class: "builder-column div-16nol0lwi20-2",
|
|
761
761
|
style: e.columnCssVars(c)
|
|
@@ -869,13 +869,13 @@ const _t = f({
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
});
|
|
872
|
-
const Ot = ["srcset"], Nt = ["alt", "role", "src", "srcset", "sizes"],
|
|
872
|
+
const Ot = ["srcset"], Nt = ["alt", "role", "src", "srcset", "sizes"], Ut = {
|
|
873
873
|
key: 2,
|
|
874
874
|
class: "div-1be3j8m9ewb-2"
|
|
875
875
|
};
|
|
876
|
-
function
|
|
876
|
+
function jt(e, t, n, o, r, i) {
|
|
877
877
|
var s, a, l, c;
|
|
878
|
-
return d(), p(
|
|
878
|
+
return d(), p(R, null, [
|
|
879
879
|
J("picture", null, [
|
|
880
880
|
e.webpSrcSet ? (d(), p("source", {
|
|
881
881
|
key: 0,
|
|
@@ -909,12 +909,12 @@ function Ut(e, t, n, o, r, i) {
|
|
|
909
909
|
})
|
|
910
910
|
}, null, 4)) : g("v-if", !0),
|
|
911
911
|
((c = (l = e.builderBlock) == null ? void 0 : l.children) == null ? void 0 : c.length) && e.fitContent ? x(e.$slots, "default", { key: 1 }, void 0, !0) : g("v-if", !0),
|
|
912
|
-
!e.fitContent && e.$slots.default ? (d(), p("div",
|
|
912
|
+
!e.fitContent && e.$slots.default ? (d(), p("div", Ut, [
|
|
913
913
|
x(e.$slots, "default", {}, void 0, !0)
|
|
914
914
|
])) : g("v-if", !0)
|
|
915
915
|
], 64);
|
|
916
916
|
}
|
|
917
|
-
const Ft = /* @__PURE__ */ b(_t, [["render",
|
|
917
|
+
const Ft = /* @__PURE__ */ b(_t, [["render", jt], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/image/image.vue"]]), Mt = f({
|
|
918
918
|
name: "builder-section-component",
|
|
919
919
|
props: ["attributes", "maxWidth"],
|
|
920
920
|
data() {
|
|
@@ -944,7 +944,7 @@ const Ht = /* @__PURE__ */ b(Mt, [["render", Lt], ["__file", "/home/runner/work/
|
|
|
944
944
|
return e;
|
|
945
945
|
const t = e.split(".");
|
|
946
946
|
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
947
|
-
},
|
|
947
|
+
}, $e = ({
|
|
948
948
|
name: e,
|
|
949
949
|
canTrack: t
|
|
950
950
|
}) => {
|
|
@@ -955,7 +955,7 @@ const Ht = /* @__PURE__ */ b(Mt, [["render", Lt], ["__file", "/home/runner/work/
|
|
|
955
955
|
I.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
956
956
|
return;
|
|
957
957
|
}
|
|
958
|
-
}, Te = async (e) =>
|
|
958
|
+
}, Te = async (e) => $e(e), Kt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(A).join("; "), zt = [["secure", ""], ["SameSite", "None"]], qt = ({
|
|
959
959
|
name: e,
|
|
960
960
|
value: t,
|
|
961
961
|
expires: n
|
|
@@ -987,7 +987,7 @@ const Ht = /* @__PURE__ */ b(Mt, [["render", Lt], ["__file", "/home/runner/work/
|
|
|
987
987
|
canTrack: !0
|
|
988
988
|
}), Yt = ({
|
|
989
989
|
contentId: e
|
|
990
|
-
}) =>
|
|
990
|
+
}) => $e({
|
|
991
991
|
name: ne(e),
|
|
992
992
|
canTrack: !0
|
|
993
993
|
}), Qt = ({
|
|
@@ -1073,7 +1073,7 @@ const Ht = /* @__PURE__ */ b(Mt, [["render", Lt], ["__file", "/home/runner/work/
|
|
|
1073
1073
|
...e,
|
|
1074
1074
|
...r
|
|
1075
1075
|
};
|
|
1076
|
-
},
|
|
1076
|
+
}, U = (e) => A(e) ? e : !0, tn = {
|
|
1077
1077
|
name: "Core:Button",
|
|
1078
1078
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1079
1079
|
defaultStyles: {
|
|
@@ -1589,7 +1589,7 @@ const fn = /* @__PURE__ */ b(pn, [["render", hn], ["__file", "/home/runner/work/
|
|
|
1589
1589
|
"attributes"
|
|
1590
1590
|
],
|
|
1591
1591
|
data() {
|
|
1592
|
-
return { isEditing:
|
|
1592
|
+
return { isEditing: $, filterAttrs: z };
|
|
1593
1593
|
}
|
|
1594
1594
|
}), vn = ["alt", "src"];
|
|
1595
1595
|
function Sn(e, t, n, o, r, i) {
|
|
@@ -1675,7 +1675,7 @@ const Cn = /* @__PURE__ */ b(yn, [["render", Sn], ["__file", "/home/runner/work/
|
|
|
1675
1675
|
hideFromUI: !0,
|
|
1676
1676
|
type: "boolean"
|
|
1677
1677
|
}]
|
|
1678
|
-
},
|
|
1678
|
+
}, Rn = {
|
|
1679
1679
|
name: "Text",
|
|
1680
1680
|
static: !0,
|
|
1681
1681
|
isRSC: !0,
|
|
@@ -1693,7 +1693,7 @@ const Cn = /* @__PURE__ */ b(yn, [["render", Sn], ["__file", "/home/runner/work/
|
|
|
1693
1693
|
height: "auto",
|
|
1694
1694
|
textAlign: "center"
|
|
1695
1695
|
}
|
|
1696
|
-
},
|
|
1696
|
+
}, $n = f({
|
|
1697
1697
|
name: "builder-text",
|
|
1698
1698
|
props: ["text"]
|
|
1699
1699
|
}), Tn = ["innerHTML"];
|
|
@@ -1707,7 +1707,7 @@ function En(e, t, n, o, r, i) {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
}, null, 8, Tn);
|
|
1709
1709
|
}
|
|
1710
|
-
const Pn = /* @__PURE__ */ b(
|
|
1710
|
+
const Pn = /* @__PURE__ */ b($n, [["render", En], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/text/text.vue"]]), xn = {
|
|
1711
1711
|
name: "Video",
|
|
1712
1712
|
canHaveChildren: !0,
|
|
1713
1713
|
defaultStyles: {
|
|
@@ -1900,7 +1900,7 @@ function Nn(e, t, n, o, r, i) {
|
|
|
1900
1900
|
])) : g("v-if", !0)
|
|
1901
1901
|
]);
|
|
1902
1902
|
}
|
|
1903
|
-
const
|
|
1903
|
+
const Un = /* @__PURE__ */ b(Bn, [["render", Nn], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/video/video.vue"]]), ce = () => [{
|
|
1904
1904
|
component: Ye,
|
|
1905
1905
|
...tn
|
|
1906
1906
|
}, {
|
|
@@ -1929,11 +1929,11 @@ const jn = /* @__PURE__ */ b(Bn, [["render", Nn], ["__file", "/home/runner/work/
|
|
|
1929
1929
|
...In
|
|
1930
1930
|
}, {
|
|
1931
1931
|
component: Pn,
|
|
1932
|
-
|
|
1932
|
+
...Rn
|
|
1933
1933
|
}, {
|
|
1934
|
-
component:
|
|
1934
|
+
component: Un,
|
|
1935
1935
|
...xn
|
|
1936
|
-
}], de = [],
|
|
1936
|
+
}], de = [], jn = (e) => ({
|
|
1937
1937
|
type: "builder.registerComponent",
|
|
1938
1938
|
data: X(e)
|
|
1939
1939
|
}), Fn = (e) => {
|
|
@@ -2094,7 +2094,7 @@ const Xn = "v3", ue = "builder.", Zn = "options.", eo = (e) => {
|
|
|
2094
2094
|
}, Ne = (e) => {
|
|
2095
2095
|
if (!e)
|
|
2096
2096
|
return {};
|
|
2097
|
-
const t =
|
|
2097
|
+
const t = Ue(e), n = {};
|
|
2098
2098
|
return Object.keys(t).forEach((o) => {
|
|
2099
2099
|
if (o.startsWith(ue)) {
|
|
2100
2100
|
const r = o.replace(ue, "").replace(Zn, "");
|
|
@@ -2106,7 +2106,7 @@ const Xn = "v3", ue = "builder.", Zn = "options.", eo = (e) => {
|
|
|
2106
2106
|
return {};
|
|
2107
2107
|
const e = new URLSearchParams(window.location.search);
|
|
2108
2108
|
return Ne(e);
|
|
2109
|
-
},
|
|
2109
|
+
}, Ue = (e) => e instanceof URLSearchParams ? eo(e) : e, pe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, oe = (e) => {
|
|
2110
2110
|
let {
|
|
2111
2111
|
noTraverse: t = !1
|
|
2112
2112
|
} = e;
|
|
@@ -2143,7 +2143,7 @@ const Xn = "v3", ue = "builder.", Zn = "options.", eo = (e) => {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
const Ke = {
|
|
2145
2145
|
...to(),
|
|
2146
|
-
...
|
|
2146
|
+
...Ue(e.options || {})
|
|
2147
2147
|
}, ie = D(Ke);
|
|
2148
2148
|
for (const E in ie)
|
|
2149
2149
|
w.searchParams.set(E, String(ie[E]));
|
|
@@ -2157,7 +2157,7 @@ const Xn = "v3", ue = "builder.", Zn = "options.", eo = (e) => {
|
|
|
2157
2157
|
return w;
|
|
2158
2158
|
}, no = (e) => "results" in e;
|
|
2159
2159
|
async function q(e) {
|
|
2160
|
-
const t = await
|
|
2160
|
+
const t = await je({
|
|
2161
2161
|
...e,
|
|
2162
2162
|
limit: 1
|
|
2163
2163
|
});
|
|
@@ -2167,7 +2167,7 @@ const Yo = q, oo = async (e) => {
|
|
|
2167
2167
|
const t = oe(e);
|
|
2168
2168
|
return await (await Oe(t.href)).json();
|
|
2169
2169
|
}, ro = async (e, t, n = oe(e)) => {
|
|
2170
|
-
const o =
|
|
2170
|
+
const o = U(e.canTrack);
|
|
2171
2171
|
if (n.search.includes("preview="), !o || !(v() || T === "reactNative"))
|
|
2172
2172
|
return t.results;
|
|
2173
2173
|
try {
|
|
@@ -2183,7 +2183,7 @@ const Yo = q, oo = async (e) => {
|
|
|
2183
2183
|
}
|
|
2184
2184
|
return t.results;
|
|
2185
2185
|
};
|
|
2186
|
-
async function
|
|
2186
|
+
async function je(e) {
|
|
2187
2187
|
try {
|
|
2188
2188
|
const t = oe(e), n = await oo(e);
|
|
2189
2189
|
return no(n) ? ro(e, n) : (I.error("Error fetching data. ", {
|
|
@@ -2195,9 +2195,9 @@ async function Ue(e) {
|
|
|
2195
2195
|
return I.error("Error fetching data. ", t), null;
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
|
-
const Qo =
|
|
2198
|
+
const Qo = je;
|
|
2199
2199
|
function io() {
|
|
2200
|
-
return !v() ||
|
|
2200
|
+
return !v() || $() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
|
|
2201
2201
|
}
|
|
2202
2202
|
function so() {
|
|
2203
2203
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
@@ -2323,7 +2323,7 @@ async function Z(e) {
|
|
|
2323
2323
|
I.error("Missing API key for track call. Please provide your API key.");
|
|
2324
2324
|
return;
|
|
2325
2325
|
}
|
|
2326
|
-
if (!!e.canTrack &&
|
|
2326
|
+
if (!!e.canTrack && !$() && !!(v() || T === "reactNative"))
|
|
2327
2327
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
2328
2328
|
method: "POST",
|
|
2329
2329
|
body: JSON.stringify({
|
|
@@ -2383,7 +2383,7 @@ const ko = (e, t, n = !0) => {
|
|
|
2383
2383
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
2384
2384
|
}
|
|
2385
2385
|
};
|
|
2386
|
-
}, So = "0.11.
|
|
2386
|
+
}, So = "0.11.5", fe = {};
|
|
2387
2387
|
function Co(e, t) {
|
|
2388
2388
|
let n = fe[e];
|
|
2389
2389
|
if (n || (n = fe[e] = []), n.push(t), v()) {
|
|
@@ -2481,7 +2481,7 @@ const Io = (e = {}) => {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
}
|
|
2483
2483
|
})));
|
|
2484
|
-
},
|
|
2484
|
+
}, Ro = f({
|
|
2485
2485
|
name: "enable-editor",
|
|
2486
2486
|
props: [
|
|
2487
2487
|
"builderContextSignal",
|
|
@@ -2495,11 +2495,13 @@ const Io = (e = {}) => {
|
|
|
2495
2495
|
"enrich",
|
|
2496
2496
|
"content",
|
|
2497
2497
|
"showContent",
|
|
2498
|
-
"contentWrapperProps"
|
|
2498
|
+
"contentWrapperProps",
|
|
2499
|
+
"data"
|
|
2499
2500
|
],
|
|
2500
2501
|
data() {
|
|
2501
2502
|
return {
|
|
2502
2503
|
forceReRenderCount: 0,
|
|
2504
|
+
firstRender: !0,
|
|
2503
2505
|
lastUpdated: 0,
|
|
2504
2506
|
shouldSendResetCookie: !1,
|
|
2505
2507
|
ContentWrapper: this.contentWrapper || "div",
|
|
@@ -2518,9 +2520,9 @@ const Io = (e = {}) => {
|
|
|
2518
2520
|
(() => {
|
|
2519
2521
|
var n, o;
|
|
2520
2522
|
if (v()) {
|
|
2521
|
-
if (
|
|
2523
|
+
if ($() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
2522
2524
|
new CustomEvent("initeditingbldr")
|
|
2523
|
-
), this.builderContextSignal.content &&
|
|
2525
|
+
), this.builderContextSignal.content && U(this.canTrack)) {
|
|
2524
2526
|
const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
|
|
2525
2527
|
Z({
|
|
2526
2528
|
type: "impression",
|
|
@@ -2566,6 +2568,20 @@ const Io = (e = {}) => {
|
|
|
2566
2568
|
this.emitStateUpdate();
|
|
2567
2569
|
},
|
|
2568
2570
|
immediate: !0
|
|
2571
|
+
},
|
|
2572
|
+
onUpdateHook5: {
|
|
2573
|
+
handler() {
|
|
2574
|
+
this.data && this.mergeNewRootState(this.data);
|
|
2575
|
+
},
|
|
2576
|
+
immediate: !0
|
|
2577
|
+
},
|
|
2578
|
+
onUpdateHook6: {
|
|
2579
|
+
handler() {
|
|
2580
|
+
this.locale && this.mergeNewRootState({
|
|
2581
|
+
locale: this.locale
|
|
2582
|
+
});
|
|
2583
|
+
},
|
|
2584
|
+
immediate: !0
|
|
2569
2585
|
}
|
|
2570
2586
|
},
|
|
2571
2587
|
unmounted() {
|
|
@@ -2602,9 +2618,27 @@ const Io = (e = {}) => {
|
|
|
2602
2618
|
return {
|
|
2603
2619
|
0: this.builderContextSignal.rootState
|
|
2604
2620
|
};
|
|
2621
|
+
},
|
|
2622
|
+
onUpdateHook5() {
|
|
2623
|
+
return {
|
|
2624
|
+
0: this.data
|
|
2625
|
+
};
|
|
2626
|
+
},
|
|
2627
|
+
onUpdateHook6() {
|
|
2628
|
+
return {
|
|
2629
|
+
0: this.locale
|
|
2630
|
+
};
|
|
2605
2631
|
}
|
|
2606
2632
|
},
|
|
2607
2633
|
methods: {
|
|
2634
|
+
mergeNewRootState(e) {
|
|
2635
|
+
var n, o;
|
|
2636
|
+
const t = {
|
|
2637
|
+
...this.builderContextSignal.rootState,
|
|
2638
|
+
...e
|
|
2639
|
+
};
|
|
2640
|
+
this.builderContextSignal.rootSetState ? (o = (n = this.builderContextSignal).rootSetState) == null || o.call(n, t) : this.builderContextSignal.rootState = t;
|
|
2641
|
+
},
|
|
2608
2642
|
mergeNewContent(e) {
|
|
2609
2643
|
var n, o, r, i, s;
|
|
2610
2644
|
const t = {
|
|
@@ -2662,7 +2696,7 @@ const Io = (e = {}) => {
|
|
|
2662
2696
|
const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
|
|
2663
2697
|
Z({
|
|
2664
2698
|
type: "click",
|
|
2665
|
-
canTrack:
|
|
2699
|
+
canTrack: U(this.canTrack),
|
|
2666
2700
|
contentId: r,
|
|
2667
2701
|
apiKey: this.apiKey,
|
|
2668
2702
|
variationId: o !== r ? o : void 0,
|
|
@@ -2700,7 +2734,7 @@ const Io = (e = {}) => {
|
|
|
2700
2734
|
var t, n, o;
|
|
2701
2735
|
const e = (o = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? o : {};
|
|
2702
2736
|
Object.entries(e).forEach(([r, i]) => {
|
|
2703
|
-
if (i && (!this.httpReqsData[r] ||
|
|
2737
|
+
if (i && (!this.httpReqsData[r] || $())) {
|
|
2704
2738
|
const s = this.evalExpression(i);
|
|
2705
2739
|
this.handleRequest({
|
|
2706
2740
|
url: s,
|
|
@@ -2710,7 +2744,7 @@ const Io = (e = {}) => {
|
|
|
2710
2744
|
});
|
|
2711
2745
|
},
|
|
2712
2746
|
emitStateUpdate() {
|
|
2713
|
-
|
|
2747
|
+
$() && window.dispatchEvent(
|
|
2714
2748
|
new CustomEvent(
|
|
2715
2749
|
"builder:component:stateChange",
|
|
2716
2750
|
{
|
|
@@ -2739,7 +2773,7 @@ const Io = (e = {}) => {
|
|
|
2739
2773
|
this.builderContextSignal.componentInfos
|
|
2740
2774
|
).forEach((t) => {
|
|
2741
2775
|
var o;
|
|
2742
|
-
const n =
|
|
2776
|
+
const n = jn(t);
|
|
2743
2777
|
(o = window.parent) == null || o.postMessage(n, "*");
|
|
2744
2778
|
}), window.addEventListener(
|
|
2745
2779
|
"builder:component:stateChangeListenerActivated",
|
|
@@ -2769,7 +2803,7 @@ const Io = (e = {}) => {
|
|
|
2769
2803
|
}
|
|
2770
2804
|
}
|
|
2771
2805
|
});
|
|
2772
|
-
function
|
|
2806
|
+
function $o(e, t, n, o, r, i) {
|
|
2773
2807
|
var s, a, l;
|
|
2774
2808
|
return e.builderContextSignal.content ? (d(), y(ke(e.ContentWrapper), C({
|
|
2775
2809
|
key: e.forceReRenderCount,
|
|
@@ -2789,13 +2823,13 @@ function Ro(e, t, n, o, r, i) {
|
|
|
2789
2823
|
},
|
|
2790
2824
|
...e.contentWrapperProps
|
|
2791
2825
|
}), {
|
|
2792
|
-
default:
|
|
2826
|
+
default: j(() => [
|
|
2793
2827
|
x(e.$slots, "default")
|
|
2794
2828
|
]),
|
|
2795
2829
|
_: 3
|
|
2796
2830
|
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : g("v-if", !0);
|
|
2797
2831
|
}
|
|
2798
|
-
const To = /* @__PURE__ */ b(
|
|
2832
|
+
const To = /* @__PURE__ */ b(Ro, [["render", $o], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/enable-editor.vue"]]), Eo = (e) => {
|
|
2799
2833
|
var i, s;
|
|
2800
2834
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = (s = e.fileUrl) != null ? s : (i = e == null ? void 0 : e.files) == null ? void 0 : i.regular;
|
|
2801
2835
|
let r = "";
|
|
@@ -2986,10 +3020,11 @@ const Ao = /* @__PURE__ */ b(Bo, [["render", Wo], ["__file", "/home/runner/work/
|
|
|
2986
3020
|
}
|
|
2987
3021
|
}
|
|
2988
3022
|
});
|
|
2989
|
-
function
|
|
3023
|
+
function Uo(e, t, n, o, r, i) {
|
|
2990
3024
|
const s = k("inlined-script"), a = k("content-styles"), l = k("blocks"), c = k("enable-editor");
|
|
2991
3025
|
return d(), y(c, C({
|
|
2992
3026
|
content: e.content,
|
|
3027
|
+
data: e.data,
|
|
2993
3028
|
model: e.model,
|
|
2994
3029
|
context: e.context,
|
|
2995
3030
|
apiKey: e.apiKey,
|
|
@@ -3002,7 +3037,7 @@ function jo(e, t, n, o, r, i) {
|
|
|
3002
3037
|
contentWrapper: e.contentWrapper,
|
|
3003
3038
|
contentWrapperProps: e.contentWrapperProps
|
|
3004
3039
|
}, {}), {
|
|
3005
|
-
default:
|
|
3040
|
+
default: j(() => {
|
|
3006
3041
|
var u, m, h, S, B, W, V;
|
|
3007
3042
|
return [
|
|
3008
3043
|
e.isSsrAbTest ? (d(), y(s, {
|
|
@@ -3023,14 +3058,14 @@ function jo(e, t, n, o, r, i) {
|
|
|
3023
3058
|
];
|
|
3024
3059
|
}),
|
|
3025
3060
|
_: 1
|
|
3026
|
-
}, 16, ["content", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps"]);
|
|
3061
|
+
}, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps"]);
|
|
3027
3062
|
}
|
|
3028
|
-
const
|
|
3063
|
+
const jo = /* @__PURE__ */ b(No, [["render", Uo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/content.vue"]]), Fo = f({
|
|
3029
3064
|
name: "content-variants",
|
|
3030
3065
|
components: {
|
|
3031
3066
|
InlinedScript: _e,
|
|
3032
3067
|
InlinedStyles: te,
|
|
3033
|
-
ContentComponent:
|
|
3068
|
+
ContentComponent: jo
|
|
3034
3069
|
},
|
|
3035
3070
|
props: [
|
|
3036
3071
|
"canTrack",
|
|
@@ -3053,7 +3088,7 @@ const Uo = /* @__PURE__ */ b(No, [["render", jo], ["__file", "/home/runner/work/
|
|
|
3053
3088
|
data() {
|
|
3054
3089
|
return {
|
|
3055
3090
|
shouldRenderVariants: Dn({
|
|
3056
|
-
canTrack:
|
|
3091
|
+
canTrack: U(this.canTrack),
|
|
3057
3092
|
content: this.content
|
|
3058
3093
|
}),
|
|
3059
3094
|
TARGET: T,
|
|
@@ -3085,7 +3120,7 @@ const Uo = /* @__PURE__ */ b(No, [["render", jo], ["__file", "/home/runner/work/
|
|
|
3085
3120
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
3086
3121
|
} : Zt({
|
|
3087
3122
|
item: this.content,
|
|
3088
|
-
canTrack:
|
|
3123
|
+
canTrack: U(this.canTrack)
|
|
3089
3124
|
});
|
|
3090
3125
|
}
|
|
3091
3126
|
}
|
|
@@ -3093,18 +3128,18 @@ const Uo = /* @__PURE__ */ b(No, [["render", jo], ["__file", "/home/runner/work/
|
|
|
3093
3128
|
function Mo(e, t, n, o, r, i) {
|
|
3094
3129
|
var c;
|
|
3095
3130
|
const s = k("inlined-script"), a = k("inlined-styles"), l = k("content-component");
|
|
3096
|
-
return d(), p(
|
|
3131
|
+
return d(), p(R, null, [
|
|
3097
3132
|
!e.__isNestedRender && e.TARGET !== "reactNative" ? (d(), y(s, {
|
|
3098
3133
|
key: 0,
|
|
3099
3134
|
scriptStr: e.getScriptString()
|
|
3100
3135
|
}, null, 8, ["scriptStr"])) : g("v-if", !0),
|
|
3101
|
-
e.shouldRenderVariants ? (d(), p(
|
|
3136
|
+
e.shouldRenderVariants ? (d(), p(R, { key: 1 }, [
|
|
3102
3137
|
P(a, {
|
|
3103
3138
|
id: `variants-styles-${(c = e.content) == null ? void 0 : c.id}`,
|
|
3104
3139
|
styles: e.hideVariantsStyleString
|
|
3105
3140
|
}, null, 8, ["id", "styles"]),
|
|
3106
3141
|
P(s, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
|
|
3107
|
-
(d(!0), p(
|
|
3142
|
+
(d(!0), p(R, null, N(e.getVariants(e.content), (u, m) => (d(), y(l, {
|
|
3108
3143
|
key: u.testVariationId,
|
|
3109
3144
|
content: u,
|
|
3110
3145
|
showContent: !1,
|
|
@@ -3290,9 +3325,9 @@ export {
|
|
|
3290
3325
|
Zo as R,
|
|
3291
3326
|
Ht as S,
|
|
3292
3327
|
T,
|
|
3293
|
-
|
|
3328
|
+
Un as V,
|
|
3294
3329
|
b as _,
|
|
3295
|
-
|
|
3330
|
+
$t as a,
|
|
3296
3331
|
Jo as b,
|
|
3297
3332
|
A as c,
|
|
3298
3333
|
Q as d,
|
|
@@ -3305,13 +3340,13 @@ export {
|
|
|
3305
3340
|
Ft as k,
|
|
3306
3341
|
Ko as l,
|
|
3307
3342
|
Pn as m,
|
|
3308
|
-
|
|
3343
|
+
$ as n,
|
|
3309
3344
|
io as o,
|
|
3310
|
-
|
|
3345
|
+
jn as p,
|
|
3311
3346
|
ro as q,
|
|
3312
3347
|
Co as r,
|
|
3313
3348
|
tr as s,
|
|
3314
|
-
|
|
3349
|
+
je as t,
|
|
3315
3350
|
q as u,
|
|
3316
3351
|
Qo as v,
|
|
3317
3352
|
Oo as w,
|
package/lib/browser/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var t=require("./style.css");Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
var t=require("./style.css");Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.2d468b02.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
package/lib/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { f as n, i as r, j as o, C as i, F as g, k as c, R as l, h as m, S as C, l as d, m as p, V as u, q as f, p as h, A as B, t as R, u as S, v as k, y as E, x, n as y, o as P, r as v, s as A, z as F } from "./index.
|
|
2
|
+
import { f as n, i as r, j as o, C as i, F as g, k as c, R as l, h as m, S as C, l as d, m as p, V as u, q as f, p as h, A as B, t as R, u as S, v as k, y as E, x, n as y, o as P, r as v, s as A, z as F } from "./index.68f1cdc9.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
export {
|
|
5
5
|
n as Blocks,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.
|
|
1
|
+
var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.2d468b02.cjs"),r=()=>Promise.resolve().then(()=>require("./index.2d468b02.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,d,u,a){const n=o.resolveComponent("block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents},null,8,["block","context","registeredComponents"])}const l=t._export_sfc(c,[["render",s],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/components/repeated-block.vue"]]);exports.default=l;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as s } from "vue";
|
|
3
|
-
import { d as p, _ as l } from "./index.
|
|
4
|
-
const a = () => import("./index.
|
|
3
|
+
import { d as p, _ as l } from "./index.68f1cdc9.js";
|
|
4
|
+
const a = () => import("./index.68f1cdc9.js").then((e) => e.D).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
7
|
e
|