@builder.io/sdk-vue 1.0.15 → 1.0.16
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-T4pQN2_K.js → block-styles-6TCYHFhw.js} +6 -5
- package/lib/browser/block-styles-Ms1wQqgK.cjs +1 -0
- package/lib/browser/{block-wrapper-BS6H_HBW.cjs → block-wrapper-8w1ok_04.cjs} +1 -1
- package/lib/browser/{block-wrapper-kApw6sWf.js → block-wrapper-TDrSjeun.js} +3 -3
- package/lib/browser/{component-ref-T_Bt-NXH.js → component-ref-3TnMqFsh.js} +2 -2
- package/lib/browser/{component-ref-J4lTvF63.cjs → component-ref-piWtyJuS.cjs} +1 -1
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -1
- package/lib/browser/components/content-variants/helpers.d.ts +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-7bc31nNM.js → get-block-properties-swAAqr5Q.js} +1 -1
- package/lib/browser/{get-block-properties-WeCTcMri.cjs → get-block-properties-znBNJG9m.cjs} +1 -1
- package/lib/browser/{index-4mbHsvBx.js → index-JoCrt5Mj.js} +32 -18
- package/lib/browser/index-ZID1XPKY.cjs +166 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block-yWT-i8YN.js → repeated-block-0mjIhErN.js} +2 -2
- package/lib/browser/{repeated-block--q5yqvlb.cjs → repeated-block-Aag6lq7R.cjs} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/block-styles-gsIg0xFp.cjs +1 -0
- package/lib/{node/block-styles-rh7tEoHf.js → edge/block-styles-wHtoAtTy.js} +6 -5
- package/lib/edge/{block-wrapper-LGqW1WHl.js → block-wrapper-CHWNqOBk.js} +3 -3
- package/lib/{node/block-wrapper-cEkh_JGR.cjs → edge/block-wrapper-y134R03K.cjs} +1 -1
- package/lib/{node/component-ref-GxIWocaf.js → edge/component-ref-Jjo_mmFM.js} +2 -2
- package/lib/{node/component-ref-4MMqYT0r.cjs → edge/component-ref-dz-_8Rct.cjs} +1 -1
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -1
- package/lib/edge/components/content-variants/helpers.d.ts +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-KmHAHG48.cjs → get-block-properties-nuJvnYlI.cjs} +1 -1
- package/lib/{node/get-block-properties-T27zvZZR.js → edge/get-block-properties-pA4T7Rp3.js} +1 -1
- package/lib/edge/{index-mgx2v7lM.js → index-cQ_3UsPy.js} +32 -18
- package/lib/edge/{index-8bjS2-PR.cjs → index-jlM1T4Q0.cjs} +12 -12
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block-VTXsyh8q.cjs → repeated-block-CRyZSIkn.cjs} +1 -1
- package/lib/edge/{repeated-block-zDw-Utg9.js → repeated-block-rzrX2Oxi.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/node/block-styles-VEtxLEov.cjs +1 -0
- package/lib/{edge/block-styles-LQO3VHOr.js → node/block-styles-_FqGGl6q.js} +6 -5
- package/lib/{edge/block-wrapper-0vi32HUX.cjs → node/block-wrapper-7jTb1ywg.cjs} +1 -1
- package/lib/node/{block-wrapper-MpN3sYhf.js → block-wrapper-L7vUm63u.js} +3 -3
- package/lib/{edge/component-ref-Wpu3G6M3.js → node/component-ref-KGHZuMWD.js} +2 -2
- package/lib/{edge/component-ref-dIn3f0RM.cjs → node/component-ref-abZqErrZ.cjs} +1 -1
- package/lib/node/components/content-variants/content-variants.vue.d.ts +1 -1
- package/lib/node/components/content-variants/helpers.d.ts +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/{edge/get-block-properties-nQPKKZHn.js → node/get-block-properties-VsjMrc1l.js} +1 -1
- package/lib/node/{get-block-properties-B5QLQJm5.cjs → get-block-properties-xYp_r32a.cjs} +1 -1
- package/lib/node/{index-tdTNLVlt.js → index-t3tNER21.js} +36 -22
- package/lib/node/index-vItLZEt6.cjs +206 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block-8a9KznE-.cjs → repeated-block-v33kirpq.cjs} +1 -1
- package/lib/node/{repeated-block-XpohtcNq.js → repeated-block-xPkQgRw-.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/block-styles-JdWTcagf.cjs +0 -1
- package/lib/browser/index-Knuxd6qK.cjs +0 -166
- package/lib/edge/block-styles-FE8XgE6h.cjs +0 -1
- package/lib/node/block-styles-f5d_sXFZ.cjs +0 -1
- package/lib/node/index-Oh0XoTAq.cjs +0 -206
|
@@ -3063,22 +3063,22 @@ const Ti = ({
|
|
|
3063
3063
|
},
|
|
3064
3064
|
block: r
|
|
3065
3065
|
}));
|
|
3066
|
-
}, Ri = () => import("./block-styles-
|
|
3066
|
+
}, Ri = () => import("./block-styles-wHtoAtTy.js").then((e) => e.default).catch((e) => {
|
|
3067
3067
|
throw console.error(
|
|
3068
3068
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3069
3069
|
e
|
|
3070
3070
|
), e;
|
|
3071
|
-
}), Ai = () => import("./block-wrapper-
|
|
3071
|
+
}), Ai = () => import("./block-wrapper-CHWNqOBk.js").then((e) => e.default).catch((e) => {
|
|
3072
3072
|
throw console.error(
|
|
3073
3073
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3074
3074
|
e
|
|
3075
3075
|
), e;
|
|
3076
|
-
}), $i = () => import("./component-ref-
|
|
3076
|
+
}), $i = () => import("./component-ref-Jjo_mmFM.js").then((e) => e.default).catch((e) => {
|
|
3077
3077
|
throw console.error(
|
|
3078
3078
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3079
3079
|
e
|
|
3080
3080
|
), e;
|
|
3081
|
-
}), Pi = () => import("./repeated-block-
|
|
3081
|
+
}), Pi = () => import("./repeated-block-rzrX2Oxi.js").then((e) => e.default).catch((e) => {
|
|
3082
3082
|
throw console.error(
|
|
3083
3083
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3084
3084
|
e
|
|
@@ -3330,7 +3330,10 @@ function Ui(e, t, n, r, o, i) {
|
|
|
3330
3330
|
}
|
|
3331
3331
|
const Ot = /* @__PURE__ */ V(Mi, [["render", Ui]]), On = N({
|
|
3332
3332
|
render() {
|
|
3333
|
-
return Ar("style", {
|
|
3333
|
+
return Ar("style", {
|
|
3334
|
+
innerHTML: this.styles,
|
|
3335
|
+
"data-id": this.id
|
|
3336
|
+
});
|
|
3334
3337
|
},
|
|
3335
3338
|
name: "inlined-styles",
|
|
3336
3339
|
props: ["styles", "id"]
|
|
@@ -3507,6 +3510,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3507
3510
|
}, {}), [
|
|
3508
3511
|
e.TARGET !== "reactNative" ? (v(), B(a, {
|
|
3509
3512
|
key: 0,
|
|
3513
|
+
id: "builderio-columns",
|
|
3510
3514
|
styles: e.columnsStyles
|
|
3511
3515
|
}, null, 8, ["styles"])) : D("", !0),
|
|
3512
3516
|
(v(!0), $(re, null, Ve(e.columns, (m, y) => (v(), B(d, {
|
|
@@ -3538,7 +3542,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3538
3542
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
3539
3543
|
], 16);
|
|
3540
3544
|
}
|
|
3541
|
-
const Li = /* @__PURE__ */ V(Wi, [["render", Di], ["__scopeId", "data-v-
|
|
3545
|
+
const Li = /* @__PURE__ */ V(Wi, [["render", Di], ["__scopeId", "data-v-4eaba73b"]]), Hi = N({
|
|
3542
3546
|
name: "builder-fragment-component",
|
|
3543
3547
|
props: []
|
|
3544
3548
|
});
|
|
@@ -5470,7 +5474,10 @@ const Ea = /* @__PURE__ */ V(ya, [["render", wa]]), Ia = () => [{
|
|
|
5470
5474
|
"${t}", "${e}", ${to}
|
|
5471
5475
|
)`, no = N({
|
|
5472
5476
|
render() {
|
|
5473
|
-
return Ar("script", {
|
|
5477
|
+
return Ar("script", {
|
|
5478
|
+
innerHTML: this.scriptStr,
|
|
5479
|
+
"data-id": this.id
|
|
5480
|
+
});
|
|
5474
5481
|
},
|
|
5475
5482
|
name: "inlined-script",
|
|
5476
5483
|
props: ["scriptStr", "id"]
|
|
@@ -5792,7 +5799,7 @@ function uo(e, t) {
|
|
|
5792
5799
|
const n = new URL(t.origin), r = n.hostname;
|
|
5793
5800
|
return (e || sl).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
|
|
5794
5801
|
}
|
|
5795
|
-
const al = "1.0.
|
|
5802
|
+
const al = "1.0.16", Tr = {};
|
|
5796
5803
|
function ll(e, t) {
|
|
5797
5804
|
let n = Tr[e];
|
|
5798
5805
|
if (n || (n = Tr[e] = []), n.push(t), X()) {
|
|
@@ -6344,7 +6351,10 @@ ${yl(this.isNestedRender)}
|
|
|
6344
6351
|
});
|
|
6345
6352
|
function bl(e, t, n, r, o, i) {
|
|
6346
6353
|
const a = U("inlined-styles");
|
|
6347
|
-
return v(), B(a, {
|
|
6354
|
+
return v(), B(a, {
|
|
6355
|
+
id: "builderio-content",
|
|
6356
|
+
styles: e.injectedStyles
|
|
6357
|
+
}, null, 8, ["styles"]);
|
|
6348
6358
|
}
|
|
6349
6359
|
const kl = /* @__PURE__ */ V(vl, [["render", bl]]), Sl = ({
|
|
6350
6360
|
content: e,
|
|
@@ -6493,6 +6503,7 @@ function Il(e, t, n, r, o, i) {
|
|
|
6493
6503
|
return [
|
|
6494
6504
|
e.isSsrAbTest ? (v(), B(a, {
|
|
6495
6505
|
key: 0,
|
|
6506
|
+
id: "builderio-variant-visibility",
|
|
6496
6507
|
scriptStr: e.scriptStr
|
|
6497
6508
|
}, null, 8, ["scriptStr"])) : D("", !0),
|
|
6498
6509
|
e.TARGET !== "reactNative" ? (v(), B(u, {
|
|
@@ -6546,7 +6557,7 @@ const Tl = /* @__PURE__ */ V(El, [["render", Il]]), xl = N({
|
|
|
6546
6557
|
content: this.content
|
|
6547
6558
|
}),
|
|
6548
6559
|
TARGET: de,
|
|
6549
|
-
|
|
6560
|
+
getInitVariantsFnsScriptString: Oa,
|
|
6550
6561
|
getVariants: xt
|
|
6551
6562
|
};
|
|
6552
6563
|
},
|
|
@@ -6580,23 +6591,26 @@ const Tl = /* @__PURE__ */ V(El, [["render", Il]]), xl = N({
|
|
|
6580
6591
|
}
|
|
6581
6592
|
});
|
|
6582
6593
|
function Rl(e, t, n, r, o, i) {
|
|
6583
|
-
var m;
|
|
6584
6594
|
const a = U("inlined-script"), u = U("inlined-styles"), d = U("content-component");
|
|
6585
6595
|
return v(), $(re, null, [
|
|
6586
6596
|
!e.isNestedRender && e.TARGET !== "reactNative" ? (v(), B(a, {
|
|
6587
6597
|
key: 0,
|
|
6588
|
-
|
|
6598
|
+
id: "builderio-init-variants-fns",
|
|
6599
|
+
scriptStr: e.getInitVariantsFnsScriptString()
|
|
6589
6600
|
}, null, 8, ["scriptStr"])) : D("", !0),
|
|
6590
6601
|
e.shouldRenderVariants ? (v(), $(re, { key: 1 }, [
|
|
6591
6602
|
Se(u, {
|
|
6592
|
-
id:
|
|
6603
|
+
id: "builderio-variants",
|
|
6593
6604
|
styles: e.hideVariantsStyleString
|
|
6594
|
-
}, null, 8, ["
|
|
6595
|
-
Se(a, {
|
|
6596
|
-
|
|
6597
|
-
|
|
6605
|
+
}, null, 8, ["styles"]),
|
|
6606
|
+
Se(a, {
|
|
6607
|
+
id: "builderio-variants-visibility",
|
|
6608
|
+
scriptStr: e.updateCookieAndStylesScriptStr
|
|
6609
|
+
}, null, 8, ["scriptStr"]),
|
|
6610
|
+
(v(!0), $(re, null, Ve(e.getVariants(e.content), (m, y) => (v(), B(d, {
|
|
6611
|
+
key: m.testVariationId,
|
|
6598
6612
|
isNestedRender: e.isNestedRender,
|
|
6599
|
-
content:
|
|
6613
|
+
content: m,
|
|
6600
6614
|
showContent: !1,
|
|
6601
6615
|
model: e.model,
|
|
6602
6616
|
data: e.data,
|