@builder.io/sdk-vue 5.2.5 → 5.2.6
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/{awaiter-RQWxLPh7.cjs → awaiter-fjkJEwL2.cjs} +1 -1
- package/lib/browser/{awaiter-BKtN2AMs.js → awaiter-uv2UPA7r.js} +1 -1
- package/lib/browser/{block-wrapper-nMKh8p11.cjs → block-wrapper-78wlnbq2.cjs} +1 -1
- package/lib/browser/{block-wrapper-tny9tjLX.js → block-wrapper-JeL_jj_h.js} +3 -3
- package/lib/browser/blocks/image/image.vue.d.ts +4 -3
- package/lib/browser/{component-ref-d2TAsp69.js → component-ref-mKp3QJjb.js} +4 -4
- package/lib/browser/{component-ref-Mw4IXQsf.cjs → component-ref-x3D964Ui.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-yuV5qbSy.cjs → get-block-properties-OItA8P2h.cjs} +1 -1
- package/lib/browser/{get-block-properties-DXgJ283y.js → get-block-properties-gsdrxoRd.js} +1 -1
- package/lib/browser/{index-NzYhd2fP.js → index-SDeF5ljo.js} +98 -92
- package/lib/browser/{index-yyjVNpWr.cjs → index-bSLOTVNj.cjs} +5 -5
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-MYo3p6a8.js → live-edit-G9Y94Fp3.js} +1 -1
- package/lib/browser/{live-edit-2xpHwDC6.cjs → live-edit-tGxAmCBt.cjs} +1 -1
- package/lib/browser/{repeated-block-2EBzVyUu.cjs → repeated-block-Fy3-rBBk.cjs} +1 -1
- package/lib/browser/{repeated-block-Ga5ASejd.js → repeated-block-WgU2OssJ.js} +2 -2
- package/lib/browser/{style-wrapper-L7DnOyfm.cjs → style-wrapper-EIQ0LSdQ.cjs} +1 -1
- package/lib/browser/{style-wrapper-dI5wRv59.js → style-wrapper-VY7cdn42.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-6AjvWUxL.cjs → awaiter-To0MGZ0d.cjs} +1 -1
- package/lib/edge/{awaiter-4nEUChYV.js → awaiter-xFN_a7xm.js} +1 -1
- package/lib/edge/{block-wrapper-46vOpFGy.js → block-wrapper-1dKtPesr.js} +3 -3
- package/lib/{node/block-wrapper-CVcdunhe.cjs → edge/block-wrapper-_thG9C3r.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +4 -3
- package/lib/edge/{component-ref-DUyRq-EJ.cjs → component-ref-Yf97BoLu.cjs} +1 -1
- package/lib/edge/{component-ref-yTXpKy_r.js → component-ref-e50s6g-8.js} +4 -4
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-W3W_9H-Z.js → get-block-properties-EY1VltaD.js} +1 -1
- package/lib/edge/{get-block-properties-jJLbFHeq.cjs → get-block-properties-_upYTgwb.cjs} +1 -1
- package/lib/edge/{index-DHXkBA25.js → index-47Iqxag2.js} +218 -212
- package/lib/edge/{index-jpFEl6o1.cjs → index-i395EE2u.cjs} +5 -5
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-iOkS0wUg.cjs → edge/live-edit-NYmL2A7N.cjs} +1 -1
- package/lib/{node/live-edit-NBkhYc-u.js → edge/live-edit-pS9LVcQU.js} +1 -1
- package/lib/edge/{repeated-block-dGVzaSM5.cjs → repeated-block-PQOSkxIA.cjs} +1 -1
- package/lib/edge/{repeated-block-eANZkOUH.js → repeated-block-YtApB6_A.js} +2 -2
- package/lib/edge/{style-wrapper-GqtgkGuc.js → style-wrapper-_yXwiJwO.js} +1 -1
- package/lib/edge/{style-wrapper-CvNVb0wT.cjs → style-wrapper-lmmE3giL.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-6JHJCJgG.js → awaiter-DD7OMOMu.js} +1 -1
- package/lib/node/{awaiter-_rQTvMWR.cjs → awaiter-ef2JaOpA.cjs} +1 -1
- package/lib/{edge/block-wrapper-97OfjwlX.cjs → node/block-wrapper-2UZEHIep.cjs} +1 -1
- package/lib/node/{block-wrapper-3P0_XOfk.js → block-wrapper-QV4wX7ge.js} +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +4 -3
- package/lib/node/{component-ref-RHwChjOp.js → component-ref-BVAWbmSM.js} +5 -5
- package/lib/node/{component-ref-tWjNsmU5.cjs → component-ref-PBLhD067.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-jknWz7As.cjs → get-block-properties-FqOAzbbj.cjs} +1 -1
- package/lib/node/{get-block-properties-9gqKfU1J.js → get-block-properties-jtxNpCjP.js} +2 -2
- package/lib/node/{index-CwfwLkvc.js → index-ebgoy2dh.js} +70 -64
- package/lib/node/{index-eeU-4w7r.cjs → index-sUYiBczF.cjs} +5 -5
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-WpboQZDv.cjs → node/live-edit-GjqOXJlY.cjs} +1 -1
- package/lib/{edge/live-edit-nhAMI-64.js → node/live-edit-WlaTJPy3.js} +1 -1
- package/lib/node/{repeated-block-BqCLqE8_.cjs → repeated-block-M3uZwBiE.cjs} +1 -1
- package/lib/node/{repeated-block-aHj4jtJt.js → repeated-block-u2S52SQe.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-2bRYXF-W.js → should-force-browser-runtime-in-node-0fyWCMQO.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-j9YDACzy.cjs → should-force-browser-runtime-in-node-djPOsLG6.cjs} +1 -1
- package/lib/node/{style-wrapper-WxU8Uo4d.cjs → style-wrapper-Kc9lgaOA.cjs} +1 -1
- package/lib/node/{style-wrapper-kcTKCb_j.js → style-wrapper-OtcV4kQU.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as
|
|
2
|
-
import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-
|
|
1
|
+
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as je, createElementVNode as j, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
|
|
2
|
+
import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-0fyWCMQO.js";
|
|
3
3
|
const Vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Nt = (e) => typeof e == "string" && Vt.has(e.toLowerCase());
|
|
4
4
|
function N(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -41,7 +41,7 @@ function Dt(e, t, n, o, r, i) {
|
|
|
41
41
|
const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: Ce
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
44
|
+
}, Symbol.toStringTag, { value: "Module" })), z = () => {
|
|
45
45
|
switch (R) {
|
|
46
46
|
case "react":
|
|
47
47
|
case "reactNative":
|
|
@@ -71,7 +71,7 @@ const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.
|
|
|
71
71
|
attrs() {
|
|
72
72
|
return {
|
|
73
73
|
...N(this.attributes, "v-on:", !1),
|
|
74
|
-
[
|
|
74
|
+
[z()]: `${this.link ? "" : "builder-button"} ${this.attributes[z()] || ""}`,
|
|
75
75
|
...this.link ? {
|
|
76
76
|
href: this.link,
|
|
77
77
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -142,9 +142,9 @@ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
|
|
|
142
142
|
return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
|
|
143
143
|
}, Mt = (e) => E() || wt({
|
|
144
144
|
shouldLogWarning: !0
|
|
145
|
-
}) ? Ht(e) : It(e),
|
|
145
|
+
}) ? Ht(e) : It(e), zt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, qt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, jt = (e) => {
|
|
146
146
|
var t, n, o, r, i, s;
|
|
147
|
-
return ((o = (n = (t =
|
|
147
|
+
return ((o = (n = (t = zt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = qt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
148
148
|
};
|
|
149
149
|
function _({
|
|
150
150
|
code: e,
|
|
@@ -158,7 +158,7 @@ function _({
|
|
|
158
158
|
}) {
|
|
159
159
|
if (e.trim() === "")
|
|
160
160
|
return;
|
|
161
|
-
const a =
|
|
161
|
+
const a = jt(e.trim());
|
|
162
162
|
if (a)
|
|
163
163
|
return Xe({
|
|
164
164
|
...o,
|
|
@@ -1067,30 +1067,30 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1067
1067
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1068
1068
|
e
|
|
1069
1069
|
), e;
|
|
1070
|
-
}), Ln = () => import("./block-wrapper-
|
|
1070
|
+
}), Ln = () => import("./block-wrapper-QV4wX7ge.js").then((e) => e.default).catch((e) => {
|
|
1071
1071
|
throw console.error(
|
|
1072
1072
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1073
1073
|
e
|
|
1074
1074
|
), e;
|
|
1075
|
-
}), Hn = () => import("./component-ref-
|
|
1075
|
+
}), Hn = () => import("./component-ref-BVAWbmSM.js").then((e) => e.default).catch((e) => {
|
|
1076
1076
|
throw console.error(
|
|
1077
1077
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1078
1078
|
e
|
|
1079
1079
|
), e;
|
|
1080
|
-
}), Mn = () => import("./repeated-block-
|
|
1080
|
+
}), Mn = () => import("./repeated-block-u2S52SQe.js").then((e) => e.default).catch((e) => {
|
|
1081
1081
|
throw console.error(
|
|
1082
1082
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1083
1083
|
e
|
|
1084
1084
|
), e;
|
|
1085
|
-
}),
|
|
1085
|
+
}), zn = () => import("./style-wrapper-OtcV4kQU.js").then((e) => e.default).catch((e) => {
|
|
1086
1086
|
throw console.error(
|
|
1087
1087
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1088
1088
|
e
|
|
1089
1089
|
), e;
|
|
1090
|
-
}),
|
|
1090
|
+
}), qn = y({
|
|
1091
1091
|
name: "block",
|
|
1092
1092
|
components: {
|
|
1093
|
-
StyleWrapper: Q(
|
|
1093
|
+
StyleWrapper: Q(zn),
|
|
1094
1094
|
RepeatedBlock: Q(Mn),
|
|
1095
1095
|
ComponentRef: Q(Hn),
|
|
1096
1096
|
BlockWrapper: Q(Ln),
|
|
@@ -1182,7 +1182,7 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
1184
|
});
|
|
1185
|
-
function
|
|
1185
|
+
function jn(e, t, n, o, r, i) {
|
|
1186
1186
|
var f;
|
|
1187
1187
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1188
1188
|
return e.canShowBlock ? (d(), h(w, { key: 0 }, [
|
|
@@ -1248,7 +1248,7 @@ function zn(e, t, n, o, r, i) {
|
|
|
1248
1248
|
], 64))
|
|
1249
1249
|
], 64)) : C("", !0);
|
|
1250
1250
|
}
|
|
1251
|
-
const mt = /* @__PURE__ */ v(
|
|
1251
|
+
const mt = /* @__PURE__ */ v(qn, [["render", jn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1252
1252
|
__proto__: null,
|
|
1253
1253
|
default: mt
|
|
1254
1254
|
}, Symbol.toStringTag, { value: "Module" })), Kn = y({
|
|
@@ -1385,7 +1385,7 @@ function Yn(e, t, n, o, r, i) {
|
|
|
1385
1385
|
_: 3
|
|
1386
1386
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1387
1387
|
}
|
|
1388
|
-
const
|
|
1388
|
+
const q = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
|
|
1389
1389
|
name: "dynamic-div",
|
|
1390
1390
|
props: []
|
|
1391
1391
|
});
|
|
@@ -1399,7 +1399,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1399
1399
|
default: ee
|
|
1400
1400
|
}, Symbol.toStringTag, { value: "Module" })), ce = y({
|
|
1401
1401
|
render() {
|
|
1402
|
-
return
|
|
1402
|
+
return je("style", {
|
|
1403
1403
|
innerHTML: this.styles,
|
|
1404
1404
|
"data-id": this.id,
|
|
1405
1405
|
nonce: this.nonce
|
|
@@ -1471,7 +1471,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1471
1471
|
components: {
|
|
1472
1472
|
InlinedStyles: ce,
|
|
1473
1473
|
DynamicRenderer: Ce,
|
|
1474
|
-
Blocks:
|
|
1474
|
+
Blocks: q,
|
|
1475
1475
|
DynamicDiv: ee
|
|
1476
1476
|
},
|
|
1477
1477
|
props: [
|
|
@@ -1601,7 +1601,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1601
1601
|
...e.link ? {
|
|
1602
1602
|
href: e.link
|
|
1603
1603
|
} : {},
|
|
1604
|
-
[
|
|
1604
|
+
[z()]: "builder-column",
|
|
1605
1605
|
style: ut(this.columnCssVars(t))
|
|
1606
1606
|
};
|
|
1607
1607
|
}
|
|
@@ -1691,14 +1691,14 @@ const uo = y({
|
|
|
1691
1691
|
"src",
|
|
1692
1692
|
"srcset",
|
|
1693
1693
|
"noWebp",
|
|
1694
|
-
"
|
|
1694
|
+
"sizes",
|
|
1695
1695
|
"highPriority",
|
|
1696
|
+
"aspectRatio",
|
|
1696
1697
|
"altText",
|
|
1697
1698
|
"title",
|
|
1698
1699
|
"backgroundPosition",
|
|
1699
1700
|
"backgroundSize",
|
|
1700
1701
|
"className",
|
|
1701
|
-
"sizes",
|
|
1702
1702
|
"builderBlock",
|
|
1703
1703
|
"fitContent"
|
|
1704
1704
|
],
|
|
@@ -1723,6 +1723,9 @@ const uo = y({
|
|
|
1723
1723
|
var e;
|
|
1724
1724
|
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
1725
1725
|
},
|
|
1726
|
+
sizesToUse() {
|
|
1727
|
+
return this.sizes || (this.highPriority ? void 0 : "auto");
|
|
1728
|
+
},
|
|
1726
1729
|
aspectRatioCss() {
|
|
1727
1730
|
const e = {
|
|
1728
1731
|
position: "absolute",
|
|
@@ -1734,20 +1737,21 @@ const uo = y({
|
|
|
1734
1737
|
return this.aspectRatio ? e : void 0;
|
|
1735
1738
|
}
|
|
1736
1739
|
}
|
|
1737
|
-
}), po = ["srcset"], mo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], ho = {
|
|
1740
|
+
}), po = ["srcset", "sizes"], mo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], ho = {
|
|
1738
1741
|
key: 2,
|
|
1739
1742
|
class: "div-t43jfuqn6g-2"
|
|
1740
1743
|
};
|
|
1741
1744
|
function fo(e, t, n, o, r, i) {
|
|
1742
1745
|
var s, l, a, u, p, f;
|
|
1743
1746
|
return d(), h(w, null, [
|
|
1744
|
-
|
|
1747
|
+
j("picture", null, [
|
|
1745
1748
|
e.webpSrcSet ? (d(), h("source", {
|
|
1746
1749
|
key: 0,
|
|
1747
1750
|
type: "image/webp",
|
|
1748
|
-
srcset: e.webpSrcSet
|
|
1751
|
+
srcset: e.webpSrcSet,
|
|
1752
|
+
sizes: e.sizesToUse
|
|
1749
1753
|
}, null, 8, po)) : C("", !0),
|
|
1750
|
-
|
|
1754
|
+
j("img", {
|
|
1751
1755
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1752
1756
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
1753
1757
|
alt: e.altText,
|
|
@@ -1763,7 +1767,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1763
1767
|
),
|
|
1764
1768
|
src: e.image,
|
|
1765
1769
|
srcset: e.srcSetToUse,
|
|
1766
|
-
sizes: e.
|
|
1770
|
+
sizes: e.sizesToUse
|
|
1767
1771
|
}, null, 14, mo)
|
|
1768
1772
|
]),
|
|
1769
1773
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
@@ -1779,7 +1783,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1779
1783
|
])) : C("", !0)
|
|
1780
1784
|
], 64);
|
|
1781
1785
|
}
|
|
1782
|
-
const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-
|
|
1786
|
+
const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-17b592cd"]]), go = y({
|
|
1783
1787
|
name: "builder-section-component",
|
|
1784
1788
|
props: ["attributes", "maxWidth"],
|
|
1785
1789
|
data() {
|
|
@@ -2195,7 +2199,7 @@ const Ro = () => `
|
|
|
2195
2199
|
}
|
|
2196
2200
|
}, Bo = (e) => e.toString(), Vo = y({
|
|
2197
2201
|
name: "builder-accordion",
|
|
2198
|
-
components: { Blocks:
|
|
2202
|
+
components: { Blocks: q },
|
|
2199
2203
|
props: [
|
|
2200
2204
|
"grid",
|
|
2201
2205
|
"oneAtATime",
|
|
@@ -2296,7 +2300,7 @@ function Wo(e, t, n, o, r, i) {
|
|
|
2296
2300
|
style: M(e.accordionStyles)
|
|
2297
2301
|
}, [
|
|
2298
2302
|
(d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
|
|
2299
|
-
|
|
2303
|
+
j("div", {
|
|
2300
2304
|
class: Z(e.getAccordionTitleClassName(a)),
|
|
2301
2305
|
style: M({
|
|
2302
2306
|
...e.accordionTitleStyles,
|
|
@@ -2665,7 +2669,8 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2665
2669
|
}, {
|
|
2666
2670
|
name: "sizes",
|
|
2667
2671
|
type: "string",
|
|
2668
|
-
|
|
2672
|
+
advanced: !0,
|
|
2673
|
+
helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
|
|
2669
2674
|
}, {
|
|
2670
2675
|
name: "srcset",
|
|
2671
2676
|
type: "string",
|
|
@@ -2733,7 +2738,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2733
2738
|
}]
|
|
2734
2739
|
}, Pe = y({
|
|
2735
2740
|
render() {
|
|
2736
|
-
return
|
|
2741
|
+
return je("script", {
|
|
2737
2742
|
innerHTML: this.scriptStr,
|
|
2738
2743
|
"data-id": this.id,
|
|
2739
2744
|
nonce: this.nonce
|
|
@@ -2744,7 +2749,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2744
2749
|
}), Mo = y({
|
|
2745
2750
|
name: "builder-personalization-container",
|
|
2746
2751
|
components: {
|
|
2747
|
-
Blocks:
|
|
2752
|
+
Blocks: q,
|
|
2748
2753
|
InlinedStyles: ce,
|
|
2749
2754
|
InlinedScript: Pe
|
|
2750
2755
|
},
|
|
@@ -2827,7 +2832,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2827
2832
|
return {
|
|
2828
2833
|
...N(this.attributes, "v-on:", !1),
|
|
2829
2834
|
...N(this.attributes, "v-on:", !0),
|
|
2830
|
-
[
|
|
2835
|
+
[z()]: `builder-personalization-container ${this.attributes[z()] || ""}`
|
|
2831
2836
|
};
|
|
2832
2837
|
},
|
|
2833
2838
|
filteredVariants() {
|
|
@@ -2866,7 +2871,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2866
2871
|
}
|
|
2867
2872
|
}
|
|
2868
2873
|
});
|
|
2869
|
-
function
|
|
2874
|
+
function zo(e, t, n, o, r, i) {
|
|
2870
2875
|
var u, p, f, c, m, b, g, P, U, B;
|
|
2871
2876
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
2872
2877
|
return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
|
|
@@ -2951,7 +2956,7 @@ function qo(e, t, n, o, r, i) {
|
|
|
2951
2956
|
], 64)) : C("", !0)
|
|
2952
2957
|
], 16);
|
|
2953
2958
|
}
|
|
2954
|
-
const
|
|
2959
|
+
const qo = /* @__PURE__ */ v(Mo, [["render", zo]]), jo = {
|
|
2955
2960
|
name: "Core:Section",
|
|
2956
2961
|
static: !0,
|
|
2957
2962
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3009,7 +3014,7 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), zo = {
|
|
|
3009
3014
|
}
|
|
3010
3015
|
}, Go = y({
|
|
3011
3016
|
name: "builder-slot",
|
|
3012
|
-
components: { Blocks:
|
|
3017
|
+
components: { Blocks: q },
|
|
3013
3018
|
props: ["builderContext", "name", "builderComponents"]
|
|
3014
3019
|
});
|
|
3015
3020
|
function Jo(e, t, n, o, r, i) {
|
|
@@ -3214,7 +3219,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
|
|
|
3214
3219
|
}
|
|
3215
3220
|
}, Zo = y({
|
|
3216
3221
|
name: "builder-tabs",
|
|
3217
|
-
components: { Blocks:
|
|
3222
|
+
components: { Blocks: q },
|
|
3218
3223
|
props: [
|
|
3219
3224
|
"defaultActiveTab",
|
|
3220
3225
|
"tabs",
|
|
@@ -3244,7 +3249,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
|
|
|
3244
3249
|
function tr(e, t, n, o, r, i) {
|
|
3245
3250
|
const s = k("Blocks");
|
|
3246
3251
|
return d(), h("div", null, [
|
|
3247
|
-
|
|
3252
|
+
j("div", {
|
|
3248
3253
|
class: "builder-tabs-wrap",
|
|
3249
3254
|
style: M({
|
|
3250
3255
|
display: "flex",
|
|
@@ -3709,7 +3714,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
|
|
|
3709
3714
|
return kr.includes(e) ? e : "production";
|
|
3710
3715
|
}, Tr = y({
|
|
3711
3716
|
name: "builder-form-component",
|
|
3712
|
-
components: { Blocks:
|
|
3717
|
+
components: { Blocks: q },
|
|
3713
3718
|
props: [
|
|
3714
3719
|
"builderContext",
|
|
3715
3720
|
"previewState",
|
|
@@ -4095,7 +4100,7 @@ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
|
|
|
4095
4100
|
function Hr(e, t, n, o, r, i) {
|
|
4096
4101
|
return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
|
|
4097
4102
|
}
|
|
4098
|
-
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]),
|
|
4103
|
+
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), zr = {
|
|
4099
4104
|
name: "Form:TextArea",
|
|
4100
4105
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4101
4106
|
inputs: [{
|
|
@@ -4131,7 +4136,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
|
|
|
4131
4136
|
},
|
|
4132
4137
|
static: !0,
|
|
4133
4138
|
noWrap: !0
|
|
4134
|
-
},
|
|
4139
|
+
}, qr = y({
|
|
4135
4140
|
name: "builder-textarea",
|
|
4136
4141
|
props: [
|
|
4137
4142
|
"attributes",
|
|
@@ -4144,7 +4149,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
|
|
|
4144
4149
|
data() {
|
|
4145
4150
|
return { filterAttrs: N };
|
|
4146
4151
|
}
|
|
4147
|
-
}),
|
|
4152
|
+
}), jr = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
4148
4153
|
function Kr(e, t, n, o, r, i) {
|
|
4149
4154
|
return d(), h("textarea", I({
|
|
4150
4155
|
placeholder: e.placeholder,
|
|
@@ -4152,9 +4157,9 @@ function Kr(e, t, n, o, r, i) {
|
|
|
4152
4157
|
value: e.value,
|
|
4153
4158
|
defaultValue: e.defaultValue,
|
|
4154
4159
|
required: e.required
|
|
4155
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
4160
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, jr);
|
|
4156
4161
|
}
|
|
4157
|
-
const Gr = /* @__PURE__ */ v(
|
|
4162
|
+
const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
|
|
4158
4163
|
name: "Raw:Img",
|
|
4159
4164
|
hideFromInsertMenu: !0,
|
|
4160
4165
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -4223,7 +4228,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
|
|
|
4223
4228
|
const e = {
|
|
4224
4229
|
...N(this.attributes, "v-on:", !1),
|
|
4225
4230
|
...N(this.attributes, "v-on:", !0),
|
|
4226
|
-
[
|
|
4231
|
+
[z()]: `builder-raw-img ${this.attributes[z()] || ""}`
|
|
4227
4232
|
};
|
|
4228
4233
|
return delete e.style, e;
|
|
4229
4234
|
}
|
|
@@ -4428,7 +4433,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
|
|
|
4428
4433
|
function ii(e, t, n, o, r, i) {
|
|
4429
4434
|
var s, l, a, u, p, f, c;
|
|
4430
4435
|
return d(), h("div", ti, [
|
|
4431
|
-
|
|
4436
|
+
j("video", I({
|
|
4432
4437
|
class: "builder-video",
|
|
4433
4438
|
ref: "videoRef",
|
|
4434
4439
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4447,7 +4452,7 @@ function ii(e, t, n, o, r, i) {
|
|
|
4447
4452
|
},
|
|
4448
4453
|
poster: e.posterImage
|
|
4449
4454
|
}, e.spreadProps), [
|
|
4450
|
-
|
|
4455
|
+
j("source", I(
|
|
4451
4456
|
{ type: "video/mp4" },
|
|
4452
4457
|
e.lazyLoad ? {
|
|
4453
4458
|
"data-src": e.video
|
|
@@ -4493,7 +4498,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4493
4498
|
...Nr
|
|
4494
4499
|
}, {
|
|
4495
4500
|
component: Gr,
|
|
4496
|
-
...
|
|
4501
|
+
...zr
|
|
4497
4502
|
}, {
|
|
4498
4503
|
component: Zr,
|
|
4499
4504
|
...Jr
|
|
@@ -4514,18 +4519,18 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4514
4519
|
...Lo
|
|
4515
4520
|
}, {
|
|
4516
4521
|
component: vo,
|
|
4517
|
-
...
|
|
4522
|
+
...jo
|
|
4518
4523
|
}, {
|
|
4519
4524
|
component: Qo,
|
|
4520
4525
|
...Ko
|
|
4521
4526
|
}, {
|
|
4522
|
-
component:
|
|
4527
|
+
component: ji,
|
|
4523
4528
|
...Yo
|
|
4524
4529
|
}, {
|
|
4525
4530
|
component: ar,
|
|
4526
4531
|
...or
|
|
4527
4532
|
}, ...gt.includes(R) ? [{
|
|
4528
|
-
component:
|
|
4533
|
+
component: qo,
|
|
4529
4534
|
...Ho
|
|
4530
4535
|
}] : [], {
|
|
4531
4536
|
component: nr,
|
|
@@ -4653,7 +4658,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4653
4658
|
}) => `window.${ve}(
|
|
4654
4659
|
"${t}", "${e}", ${Ae}
|
|
4655
4660
|
)`;
|
|
4656
|
-
function
|
|
4661
|
+
function ze(e) {
|
|
4657
4662
|
return Math.round(e * 1e3) / 1e3;
|
|
4658
4663
|
}
|
|
4659
4664
|
const bi = (e, t, n = !0) => {
|
|
@@ -4670,11 +4675,11 @@ const bi = (e, t, n = !0) => {
|
|
|
4670
4675
|
}, gi = (e) => bi(e, (t) => {
|
|
4671
4676
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4672
4677
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4673
|
-
}),
|
|
4678
|
+
}), qe = ({
|
|
4674
4679
|
event: e,
|
|
4675
4680
|
target: t
|
|
4676
4681
|
}) => {
|
|
4677
|
-
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i =
|
|
4682
|
+
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = ze(o / n.width), s = ze(r / n.height);
|
|
4678
4683
|
return {
|
|
4679
4684
|
x: i,
|
|
4680
4685
|
y: s
|
|
@@ -4684,11 +4689,11 @@ const bi = (e, t, n = !0) => {
|
|
|
4684
4689
|
return {
|
|
4685
4690
|
targetBuilderElement: o || void 0,
|
|
4686
4691
|
metadata: {
|
|
4687
|
-
targetOffset: t ?
|
|
4692
|
+
targetOffset: t ? qe({
|
|
4688
4693
|
event: e,
|
|
4689
4694
|
target: t
|
|
4690
4695
|
}) : void 0,
|
|
4691
|
-
builderTargetOffset: n ?
|
|
4696
|
+
builderTargetOffset: n ? qe({
|
|
4692
4697
|
event: e,
|
|
4693
4698
|
target: n
|
|
4694
4699
|
}) : void 0,
|
|
@@ -4772,6 +4777,7 @@ font-weight: ${s};
|
|
|
4772
4777
|
contextValue: this.builderContextSignal,
|
|
4773
4778
|
prevData: null,
|
|
4774
4779
|
prevLocale: "",
|
|
4780
|
+
prevContent: null,
|
|
4775
4781
|
ContentWrapper: this.contentWrapper || "div",
|
|
4776
4782
|
httpReqsData: {},
|
|
4777
4783
|
httpReqsPending: {},
|
|
@@ -5151,7 +5157,7 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
|
|
|
5151
5157
|
EnableEditor: Pi,
|
|
5152
5158
|
InlinedScript: Pe,
|
|
5153
5159
|
ContentStyles: Vi,
|
|
5154
|
-
Blocks:
|
|
5160
|
+
Blocks: q,
|
|
5155
5161
|
DynamicDiv: ee
|
|
5156
5162
|
},
|
|
5157
5163
|
props: [
|
|
@@ -5495,7 +5501,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5495
5501
|
}).catch((n) => {
|
|
5496
5502
|
L.error("Could not fetch symbol content: ", n);
|
|
5497
5503
|
});
|
|
5498
|
-
},
|
|
5504
|
+
}, zi = y({
|
|
5499
5505
|
name: "builder-symbol",
|
|
5500
5506
|
components: { ContentVariants: Hi, DynamicDiv: ee },
|
|
5501
5507
|
props: [
|
|
@@ -5539,7 +5545,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5539
5545
|
className() {
|
|
5540
5546
|
var e, t;
|
|
5541
5547
|
return [
|
|
5542
|
-
this.attributes[
|
|
5548
|
+
this.attributes[z()],
|
|
5543
5549
|
"builder-symbol",
|
|
5544
5550
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
5545
5551
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -5564,7 +5570,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5564
5570
|
}
|
|
5565
5571
|
}
|
|
5566
5572
|
});
|
|
5567
|
-
function
|
|
5573
|
+
function qi(e, t, n, o, r, i) {
|
|
5568
5574
|
var l, a, u, p, f, c, m;
|
|
5569
5575
|
const s = k("ContentVariants");
|
|
5570
5576
|
return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -5592,7 +5598,7 @@ function ji(e, t, n, o, r, i) {
|
|
|
5592
5598
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5593
5599
|
], 16);
|
|
5594
5600
|
}
|
|
5595
|
-
const
|
|
5601
|
+
const ji = /* @__PURE__ */ v(zi, [["render", qi]]);
|
|
5596
5602
|
export {
|
|
5597
5603
|
$e as A,
|
|
5598
5604
|
mt as B,
|
|
@@ -5605,7 +5611,7 @@ export {
|
|
|
5605
5611
|
ar as T,
|
|
5606
5612
|
si as V,
|
|
5607
5613
|
v as _,
|
|
5608
|
-
|
|
5614
|
+
z as a,
|
|
5609
5615
|
he as b,
|
|
5610
5616
|
ce as c,
|
|
5611
5617
|
eo as d,
|
|
@@ -5616,8 +5622,8 @@ export {
|
|
|
5616
5622
|
Re as i,
|
|
5617
5623
|
tn as j,
|
|
5618
5624
|
Ot as k,
|
|
5619
|
-
|
|
5620
|
-
|
|
5625
|
+
ji as l,
|
|
5626
|
+
q as m,
|
|
5621
5627
|
Hi as n,
|
|
5622
5628
|
Te as o,
|
|
5623
5629
|
nn as p,
|