@builder.io/sdk-vue 5.2.4 → 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-4bKOAzti.cjs → awaiter-fjkJEwL2.cjs} +1 -1
- package/lib/browser/{awaiter-q_DSjMVD.js → awaiter-uv2UPA7r.js} +1 -1
- package/lib/browser/{block-wrapper-Q-de2c75.cjs → block-wrapper-78wlnbq2.cjs} +1 -1
- package/lib/browser/{block-wrapper-YNVEwJsu.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-watkJI0h.js → component-ref-mKp3QJjb.js} +4 -4
- package/lib/browser/{component-ref-YeF1fWsm.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-Q4RE1NYS.cjs → get-block-properties-OItA8P2h.cjs} +1 -1
- package/lib/browser/{get-block-properties-DvyFZA6k.js → get-block-properties-gsdrxoRd.js} +1 -1
- package/lib/browser/{index-DfB3iR8x.js → index-SDeF5ljo.js} +106 -97
- package/lib/browser/{index-U5K993_E.cjs → index-bSLOTVNj.cjs} +14 -14
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-9dPB7jWd.js → live-edit-G9Y94Fp3.js} +1 -1
- package/lib/browser/{live-edit-naKnBygx.cjs → live-edit-tGxAmCBt.cjs} +1 -1
- package/lib/browser/{repeated-block-BQB7dngl.cjs → repeated-block-Fy3-rBBk.cjs} +1 -1
- package/lib/browser/{repeated-block-B84MBN4t.js → repeated-block-WgU2OssJ.js} +2 -2
- package/lib/browser/{style-wrapper-dtKxKeZ0.cjs → style-wrapper-EIQ0LSdQ.cjs} +1 -1
- package/lib/browser/{style-wrapper-1pU2q-Nj.js → style-wrapper-VY7cdn42.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-HFBt_OAF.cjs → awaiter-To0MGZ0d.cjs} +1 -1
- package/lib/edge/{awaiter-n-gIbP8r.js → awaiter-xFN_a7xm.js} +1 -1
- package/lib/{node/block-wrapper-sEviqhU3.js → edge/block-wrapper-1dKtPesr.js} +3 -3
- package/lib/edge/{block-wrapper-Bu7g5EV_.cjs → block-wrapper-_thG9C3r.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +4 -3
- package/lib/edge/{component-ref-4wKEKXCt.cjs → component-ref-Yf97BoLu.cjs} +1 -1
- package/lib/edge/{component-ref-JHSTjcJx.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-5Wxv-oHg.js → get-block-properties-EY1VltaD.js} +1 -1
- package/lib/edge/{get-block-properties--14I0FqA.cjs → get-block-properties-_upYTgwb.cjs} +1 -1
- package/lib/edge/{index-_fUTINXy.js → index-47Iqxag2.js} +225 -216
- package/lib/edge/{index-78yK7PsD.cjs → index-i395EE2u.cjs} +6 -6
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-267vHpIq.cjs → edge/live-edit-NYmL2A7N.cjs} +1 -1
- package/lib/{node/live-edit-U9pCBdly.js → edge/live-edit-pS9LVcQU.js} +1 -1
- package/lib/edge/{repeated-block-nCuqUDP7.cjs → repeated-block-PQOSkxIA.cjs} +1 -1
- package/lib/edge/{repeated-block-F75iqpVr.js → repeated-block-YtApB6_A.js} +2 -2
- package/lib/edge/{style-wrapper-w933365M.js → style-wrapper-_yXwiJwO.js} +1 -1
- package/lib/edge/{style-wrapper-rVAWy7o_.cjs → style-wrapper-lmmE3giL.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-aepEb5fm.js → awaiter-DD7OMOMu.js} +1 -1
- package/lib/node/{awaiter-MgDlcUHI.cjs → awaiter-ef2JaOpA.cjs} +1 -1
- package/lib/node/{block-wrapper-3kiJne4m.cjs → block-wrapper-2UZEHIep.cjs} +1 -1
- package/lib/{edge/block-wrapper-fPMgU7lR.js → node/block-wrapper-QV4wX7ge.js} +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +4 -3
- package/lib/node/{component-ref-TyXWBWEx.js → component-ref-BVAWbmSM.js} +5 -5
- package/lib/node/{component-ref-6kTApMRL.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-3uCiF9Qm.cjs → get-block-properties-FqOAzbbj.cjs} +1 -1
- package/lib/node/{get-block-properties-NjyNQiag.js → get-block-properties-jtxNpCjP.js} +2 -2
- package/lib/node/{index-YYQAkk5S.js → index-ebgoy2dh.js} +61 -52
- package/lib/node/{index-9WZ86cun.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-nbVPESOp.cjs → node/live-edit-GjqOXJlY.cjs} +1 -1
- package/lib/{edge/live-edit-9xqNMwhC.js → node/live-edit-WlaTJPy3.js} +1 -1
- package/lib/node/{repeated-block-BfYZqoE0.cjs → repeated-block-M3uZwBiE.cjs} +1 -1
- package/lib/node/{repeated-block-f2s-IUoM.js → repeated-block-u2S52SQe.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-HsyT-bd2.js → should-force-browser-runtime-in-node-0fyWCMQO.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-yK_d4v-W.cjs → should-force-browser-runtime-in-node-djPOsLG6.cjs} +1 -1
- package/lib/node/{style-wrapper-vHL9MNhi.cjs → style-wrapper-Kc9lgaOA.cjs} +1 -1
- package/lib/node/{style-wrapper-MJzB79lB.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,
|
|
@@ -399,10 +399,13 @@ const xe = "builder.", rn = "options.", _e = (e) => {
|
|
|
399
399
|
return _e(e);
|
|
400
400
|
}, an = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
401
401
|
function et(e, t) {
|
|
402
|
-
|
|
402
|
+
let n;
|
|
403
|
+
try {
|
|
404
|
+
n = new URL(t.origin);
|
|
405
|
+
} catch {
|
|
403
406
|
return !1;
|
|
404
|
-
|
|
405
|
-
return (e || an).findIndex((
|
|
407
|
+
}
|
|
408
|
+
return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || an).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
|
|
406
409
|
}
|
|
407
410
|
let Ue = !1;
|
|
408
411
|
const tt = (e) => {
|
|
@@ -1064,22 +1067,22 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1064
1067
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1065
1068
|
e
|
|
1066
1069
|
), e;
|
|
1067
|
-
}), Ln = () => import("./block-wrapper-
|
|
1070
|
+
}), Ln = () => import("./block-wrapper-QV4wX7ge.js").then((e) => e.default).catch((e) => {
|
|
1068
1071
|
throw console.error(
|
|
1069
1072
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1070
1073
|
e
|
|
1071
1074
|
), e;
|
|
1072
|
-
}), Hn = () => import("./component-ref-
|
|
1075
|
+
}), Hn = () => import("./component-ref-BVAWbmSM.js").then((e) => e.default).catch((e) => {
|
|
1073
1076
|
throw console.error(
|
|
1074
1077
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1075
1078
|
e
|
|
1076
1079
|
), e;
|
|
1077
|
-
}), Mn = () => import("./repeated-block-
|
|
1080
|
+
}), Mn = () => import("./repeated-block-u2S52SQe.js").then((e) => e.default).catch((e) => {
|
|
1078
1081
|
throw console.error(
|
|
1079
1082
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1080
1083
|
e
|
|
1081
1084
|
), e;
|
|
1082
|
-
}),
|
|
1085
|
+
}), zn = () => import("./style-wrapper-OtcV4kQU.js").then((e) => e.default).catch((e) => {
|
|
1083
1086
|
throw console.error(
|
|
1084
1087
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1085
1088
|
e
|
|
@@ -1087,7 +1090,7 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1087
1090
|
}), qn = y({
|
|
1088
1091
|
name: "block",
|
|
1089
1092
|
components: {
|
|
1090
|
-
StyleWrapper: Q(
|
|
1093
|
+
StyleWrapper: Q(zn),
|
|
1091
1094
|
RepeatedBlock: Q(Mn),
|
|
1092
1095
|
ComponentRef: Q(Hn),
|
|
1093
1096
|
BlockWrapper: Q(Ln),
|
|
@@ -1179,7 +1182,7 @@ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1179
1182
|
}
|
|
1180
1183
|
}
|
|
1181
1184
|
});
|
|
1182
|
-
function
|
|
1185
|
+
function jn(e, t, n, o, r, i) {
|
|
1183
1186
|
var f;
|
|
1184
1187
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1185
1188
|
return e.canShowBlock ? (d(), h(w, { key: 0 }, [
|
|
@@ -1245,7 +1248,7 @@ function zn(e, t, n, o, r, i) {
|
|
|
1245
1248
|
], 64))
|
|
1246
1249
|
], 64)) : C("", !0);
|
|
1247
1250
|
}
|
|
1248
|
-
const mt = /* @__PURE__ */ v(qn, [["render",
|
|
1251
|
+
const mt = /* @__PURE__ */ v(qn, [["render", jn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1249
1252
|
__proto__: null,
|
|
1250
1253
|
default: mt
|
|
1251
1254
|
}, Symbol.toStringTag, { value: "Module" })), Kn = y({
|
|
@@ -1396,7 +1399,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1396
1399
|
default: ee
|
|
1397
1400
|
}, Symbol.toStringTag, { value: "Module" })), ce = y({
|
|
1398
1401
|
render() {
|
|
1399
|
-
return
|
|
1402
|
+
return je("style", {
|
|
1400
1403
|
innerHTML: this.styles,
|
|
1401
1404
|
"data-id": this.id,
|
|
1402
1405
|
nonce: this.nonce
|
|
@@ -1598,7 +1601,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
|
|
|
1598
1601
|
...e.link ? {
|
|
1599
1602
|
href: e.link
|
|
1600
1603
|
} : {},
|
|
1601
|
-
[
|
|
1604
|
+
[z()]: "builder-column",
|
|
1602
1605
|
style: ut(this.columnCssVars(t))
|
|
1603
1606
|
};
|
|
1604
1607
|
}
|
|
@@ -1688,14 +1691,14 @@ const uo = y({
|
|
|
1688
1691
|
"src",
|
|
1689
1692
|
"srcset",
|
|
1690
1693
|
"noWebp",
|
|
1691
|
-
"
|
|
1694
|
+
"sizes",
|
|
1692
1695
|
"highPriority",
|
|
1696
|
+
"aspectRatio",
|
|
1693
1697
|
"altText",
|
|
1694
1698
|
"title",
|
|
1695
1699
|
"backgroundPosition",
|
|
1696
1700
|
"backgroundSize",
|
|
1697
1701
|
"className",
|
|
1698
|
-
"sizes",
|
|
1699
1702
|
"builderBlock",
|
|
1700
1703
|
"fitContent"
|
|
1701
1704
|
],
|
|
@@ -1720,6 +1723,9 @@ const uo = y({
|
|
|
1720
1723
|
var e;
|
|
1721
1724
|
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
1722
1725
|
},
|
|
1726
|
+
sizesToUse() {
|
|
1727
|
+
return this.sizes || (this.highPriority ? void 0 : "auto");
|
|
1728
|
+
},
|
|
1723
1729
|
aspectRatioCss() {
|
|
1724
1730
|
const e = {
|
|
1725
1731
|
position: "absolute",
|
|
@@ -1731,20 +1737,21 @@ const uo = y({
|
|
|
1731
1737
|
return this.aspectRatio ? e : void 0;
|
|
1732
1738
|
}
|
|
1733
1739
|
}
|
|
1734
|
-
}), 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 = {
|
|
1735
1741
|
key: 2,
|
|
1736
1742
|
class: "div-t43jfuqn6g-2"
|
|
1737
1743
|
};
|
|
1738
1744
|
function fo(e, t, n, o, r, i) {
|
|
1739
1745
|
var s, l, a, u, p, f;
|
|
1740
1746
|
return d(), h(w, null, [
|
|
1741
|
-
|
|
1747
|
+
j("picture", null, [
|
|
1742
1748
|
e.webpSrcSet ? (d(), h("source", {
|
|
1743
1749
|
key: 0,
|
|
1744
1750
|
type: "image/webp",
|
|
1745
|
-
srcset: e.webpSrcSet
|
|
1751
|
+
srcset: e.webpSrcSet,
|
|
1752
|
+
sizes: e.sizesToUse
|
|
1746
1753
|
}, null, 8, po)) : C("", !0),
|
|
1747
|
-
|
|
1754
|
+
j("img", {
|
|
1748
1755
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1749
1756
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
1750
1757
|
alt: e.altText,
|
|
@@ -1760,7 +1767,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1760
1767
|
),
|
|
1761
1768
|
src: e.image,
|
|
1762
1769
|
srcset: e.srcSetToUse,
|
|
1763
|
-
sizes: e.
|
|
1770
|
+
sizes: e.sizesToUse
|
|
1764
1771
|
}, null, 14, mo)
|
|
1765
1772
|
]),
|
|
1766
1773
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
@@ -1776,7 +1783,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1776
1783
|
])) : C("", !0)
|
|
1777
1784
|
], 64);
|
|
1778
1785
|
}
|
|
1779
|
-
const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-
|
|
1786
|
+
const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-17b592cd"]]), go = y({
|
|
1780
1787
|
name: "builder-section-component",
|
|
1781
1788
|
props: ["attributes", "maxWidth"],
|
|
1782
1789
|
data() {
|
|
@@ -2293,7 +2300,7 @@ function Wo(e, t, n, o, r, i) {
|
|
|
2293
2300
|
style: M(e.accordionStyles)
|
|
2294
2301
|
}, [
|
|
2295
2302
|
(d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
|
|
2296
|
-
|
|
2303
|
+
j("div", {
|
|
2297
2304
|
class: Z(e.getAccordionTitleClassName(a)),
|
|
2298
2305
|
style: M({
|
|
2299
2306
|
...e.accordionTitleStyles,
|
|
@@ -2662,7 +2669,8 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2662
2669
|
}, {
|
|
2663
2670
|
name: "sizes",
|
|
2664
2671
|
type: "string",
|
|
2665
|
-
|
|
2672
|
+
advanced: !0,
|
|
2673
|
+
helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
|
|
2666
2674
|
}, {
|
|
2667
2675
|
name: "srcset",
|
|
2668
2676
|
type: "string",
|
|
@@ -2730,7 +2738,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2730
2738
|
}]
|
|
2731
2739
|
}, Pe = y({
|
|
2732
2740
|
render() {
|
|
2733
|
-
return
|
|
2741
|
+
return je("script", {
|
|
2734
2742
|
innerHTML: this.scriptStr,
|
|
2735
2743
|
"data-id": this.id,
|
|
2736
2744
|
nonce: this.nonce
|
|
@@ -2824,7 +2832,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2824
2832
|
return {
|
|
2825
2833
|
...N(this.attributes, "v-on:", !1),
|
|
2826
2834
|
...N(this.attributes, "v-on:", !0),
|
|
2827
|
-
[
|
|
2835
|
+
[z()]: `builder-personalization-container ${this.attributes[z()] || ""}`
|
|
2828
2836
|
};
|
|
2829
2837
|
},
|
|
2830
2838
|
filteredVariants() {
|
|
@@ -2863,7 +2871,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
|
|
|
2863
2871
|
}
|
|
2864
2872
|
}
|
|
2865
2873
|
});
|
|
2866
|
-
function
|
|
2874
|
+
function zo(e, t, n, o, r, i) {
|
|
2867
2875
|
var u, p, f, c, m, b, g, P, U, B;
|
|
2868
2876
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
2869
2877
|
return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
|
|
@@ -2948,7 +2956,7 @@ function jo(e, t, n, o, r, i) {
|
|
|
2948
2956
|
], 64)) : C("", !0)
|
|
2949
2957
|
], 16);
|
|
2950
2958
|
}
|
|
2951
|
-
const qo = /* @__PURE__ */ v(Mo, [["render",
|
|
2959
|
+
const qo = /* @__PURE__ */ v(Mo, [["render", zo]]), jo = {
|
|
2952
2960
|
name: "Core:Section",
|
|
2953
2961
|
static: !0,
|
|
2954
2962
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3241,7 +3249,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
|
|
|
3241
3249
|
function tr(e, t, n, o, r, i) {
|
|
3242
3250
|
const s = k("Blocks");
|
|
3243
3251
|
return d(), h("div", null, [
|
|
3244
|
-
|
|
3252
|
+
j("div", {
|
|
3245
3253
|
class: "builder-tabs-wrap",
|
|
3246
3254
|
style: M({
|
|
3247
3255
|
display: "flex",
|
|
@@ -3883,7 +3891,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
|
|
|
3883
3891
|
}
|
|
3884
3892
|
}), wr = ["validate", "action", "method", "name"], Ir = {
|
|
3885
3893
|
key: 2,
|
|
3886
|
-
class: "builder-form-error-text pre-
|
|
3894
|
+
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
3887
3895
|
};
|
|
3888
3896
|
function $r(e, t, n, o, r, i) {
|
|
3889
3897
|
const s = k("Blocks");
|
|
@@ -3917,7 +3925,7 @@ function $r(e, t, n, o, r, i) {
|
|
|
3917
3925
|
}, null, 8, ["blocks", "context"])) : C("", !0)
|
|
3918
3926
|
], 16, wr);
|
|
3919
3927
|
}
|
|
3920
|
-
const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-
|
|
3928
|
+
const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c"]]), Er = {
|
|
3921
3929
|
name: "Form:Input",
|
|
3922
3930
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3923
3931
|
inputs: [
|
|
@@ -4092,7 +4100,7 @@ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
|
|
|
4092
4100
|
function Hr(e, t, n, o, r, i) {
|
|
4093
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);
|
|
4094
4102
|
}
|
|
4095
|
-
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]),
|
|
4103
|
+
const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), zr = {
|
|
4096
4104
|
name: "Form:TextArea",
|
|
4097
4105
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4098
4106
|
inputs: [{
|
|
@@ -4141,7 +4149,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), jr = {
|
|
|
4141
4149
|
data() {
|
|
4142
4150
|
return { filterAttrs: N };
|
|
4143
4151
|
}
|
|
4144
|
-
}),
|
|
4152
|
+
}), jr = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
4145
4153
|
function Kr(e, t, n, o, r, i) {
|
|
4146
4154
|
return d(), h("textarea", I({
|
|
4147
4155
|
placeholder: e.placeholder,
|
|
@@ -4149,7 +4157,7 @@ function Kr(e, t, n, o, r, i) {
|
|
|
4149
4157
|
value: e.value,
|
|
4150
4158
|
defaultValue: e.defaultValue,
|
|
4151
4159
|
required: e.required
|
|
4152
|
-
}, 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);
|
|
4153
4161
|
}
|
|
4154
4162
|
const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
|
|
4155
4163
|
name: "Raw:Img",
|
|
@@ -4220,7 +4228,7 @@ const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
|
|
|
4220
4228
|
const e = {
|
|
4221
4229
|
...N(this.attributes, "v-on:", !1),
|
|
4222
4230
|
...N(this.attributes, "v-on:", !0),
|
|
4223
|
-
[
|
|
4231
|
+
[z()]: `builder-raw-img ${this.attributes[z()] || ""}`
|
|
4224
4232
|
};
|
|
4225
4233
|
return delete e.style, e;
|
|
4226
4234
|
}
|
|
@@ -4425,7 +4433,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
|
|
|
4425
4433
|
function ii(e, t, n, o, r, i) {
|
|
4426
4434
|
var s, l, a, u, p, f, c;
|
|
4427
4435
|
return d(), h("div", ti, [
|
|
4428
|
-
|
|
4436
|
+
j("video", I({
|
|
4429
4437
|
class: "builder-video",
|
|
4430
4438
|
ref: "videoRef",
|
|
4431
4439
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4444,7 +4452,7 @@ function ii(e, t, n, o, r, i) {
|
|
|
4444
4452
|
},
|
|
4445
4453
|
poster: e.posterImage
|
|
4446
4454
|
}, e.spreadProps), [
|
|
4447
|
-
|
|
4455
|
+
j("source", I(
|
|
4448
4456
|
{ type: "video/mp4" },
|
|
4449
4457
|
e.lazyLoad ? {
|
|
4450
4458
|
"data-src": e.video
|
|
@@ -4490,7 +4498,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4490
4498
|
...Nr
|
|
4491
4499
|
}, {
|
|
4492
4500
|
component: Gr,
|
|
4493
|
-
...
|
|
4501
|
+
...zr
|
|
4494
4502
|
}, {
|
|
4495
4503
|
component: Zr,
|
|
4496
4504
|
...Jr
|
|
@@ -4511,12 +4519,12 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4511
4519
|
...Lo
|
|
4512
4520
|
}, {
|
|
4513
4521
|
component: vo,
|
|
4514
|
-
...
|
|
4522
|
+
...jo
|
|
4515
4523
|
}, {
|
|
4516
4524
|
component: Qo,
|
|
4517
4525
|
...Ko
|
|
4518
4526
|
}, {
|
|
4519
|
-
component:
|
|
4527
|
+
component: ji,
|
|
4520
4528
|
...Yo
|
|
4521
4529
|
}, {
|
|
4522
4530
|
component: ar,
|
|
@@ -4650,7 +4658,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
|
|
|
4650
4658
|
}) => `window.${ve}(
|
|
4651
4659
|
"${t}", "${e}", ${Ae}
|
|
4652
4660
|
)`;
|
|
4653
|
-
function
|
|
4661
|
+
function ze(e) {
|
|
4654
4662
|
return Math.round(e * 1e3) / 1e3;
|
|
4655
4663
|
}
|
|
4656
4664
|
const bi = (e, t, n = !0) => {
|
|
@@ -4671,7 +4679,7 @@ const bi = (e, t, n = !0) => {
|
|
|
4671
4679
|
event: e,
|
|
4672
4680
|
target: t
|
|
4673
4681
|
}) => {
|
|
4674
|
-
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);
|
|
4675
4683
|
return {
|
|
4676
4684
|
x: i,
|
|
4677
4685
|
y: s
|
|
@@ -4769,6 +4777,7 @@ font-weight: ${s};
|
|
|
4769
4777
|
contextValue: this.builderContextSignal,
|
|
4770
4778
|
prevData: null,
|
|
4771
4779
|
prevLocale: "",
|
|
4780
|
+
prevContent: null,
|
|
4772
4781
|
ContentWrapper: this.contentWrapper || "div",
|
|
4773
4782
|
httpReqsData: {},
|
|
4774
4783
|
httpReqsPending: {},
|
|
@@ -5492,7 +5501,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5492
5501
|
}).catch((n) => {
|
|
5493
5502
|
L.error("Could not fetch symbol content: ", n);
|
|
5494
5503
|
});
|
|
5495
|
-
},
|
|
5504
|
+
}, zi = y({
|
|
5496
5505
|
name: "builder-symbol",
|
|
5497
5506
|
components: { ContentVariants: Hi, DynamicDiv: ee },
|
|
5498
5507
|
props: [
|
|
@@ -5536,7 +5545,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
|
|
|
5536
5545
|
className() {
|
|
5537
5546
|
var e, t;
|
|
5538
5547
|
return [
|
|
5539
|
-
this.attributes[
|
|
5548
|
+
this.attributes[z()],
|
|
5540
5549
|
"builder-symbol",
|
|
5541
5550
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
5542
5551
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -5589,7 +5598,7 @@ function qi(e, t, n, o, r, i) {
|
|
|
5589
5598
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5590
5599
|
], 16);
|
|
5591
5600
|
}
|
|
5592
|
-
const
|
|
5601
|
+
const ji = /* @__PURE__ */ v(zi, [["render", qi]]);
|
|
5593
5602
|
export {
|
|
5594
5603
|
$e as A,
|
|
5595
5604
|
mt as B,
|
|
@@ -5602,7 +5611,7 @@ export {
|
|
|
5602
5611
|
ar as T,
|
|
5603
5612
|
si as V,
|
|
5604
5613
|
v as _,
|
|
5605
|
-
|
|
5614
|
+
z as a,
|
|
5606
5615
|
he as b,
|
|
5607
5616
|
ce as c,
|
|
5608
5617
|
eo as d,
|
|
@@ -5613,7 +5622,7 @@ export {
|
|
|
5613
5622
|
Re as i,
|
|
5614
5623
|
tn as j,
|
|
5615
5624
|
Ot as k,
|
|
5616
|
-
|
|
5625
|
+
ji as l,
|
|
5617
5626
|
q as m,
|
|
5618
5627
|
Hi as n,
|
|
5619
5628
|
Te as o,
|