@builder.io/sdk-vue 4.0.3 → 4.0.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.
Files changed (70) hide show
  1. package/lib/browser/{awaiter-T635T5iI.js → awaiter-Na4FhF0w.js} +1 -1
  2. package/lib/browser/{awaiter-5OhN8ApS.cjs → awaiter-gdSp9a3o.cjs} +1 -1
  3. package/lib/browser/{block-styles-pUFf51sH.cjs → block-styles-HyV_Fqpu.cjs} +1 -1
  4. package/lib/browser/{block-styles-Mji_WN2o.js → block-styles-adNaPac5.js} +1 -1
  5. package/lib/browser/{block-wrapper-soT7ooMT.cjs → block-wrapper-GYkBDhfB.cjs} +1 -1
  6. package/lib/browser/{block-wrapper-yV8JarXL.js → block-wrapper-HyxydZnL.js} +3 -3
  7. package/lib/browser/blocks/image/image.types.d.ts +1 -0
  8. package/lib/browser/blocks/image/image.vue.d.ts +3 -0
  9. package/lib/browser/component-ref-g5FHyHxO.cjs +1 -0
  10. package/lib/browser/{component-ref-ys0ueCcY.js → component-ref-ngiwFAvH.js} +27 -14
  11. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +7 -1
  12. package/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +6 -1
  13. package/lib/browser/constants/sdk-version.d.ts +1 -1
  14. package/lib/browser/{get-block-properties-M5SrUo_n.js → get-block-properties-18MNRsm7.js} +1 -1
  15. package/lib/browser/{get-block-properties-PK3c3XD7.cjs → get-block-properties-HYjBq-49.cjs} +1 -1
  16. package/lib/browser/{index-zpEHIUKh.js → index-X41L9CpV.js} +27 -9
  17. package/lib/browser/{index-WB_-12va.cjs → index-rU3Ag1Be.cjs} +5 -5
  18. package/lib/browser/index.cjs +1 -1
  19. package/lib/browser/index.mjs +1 -1
  20. package/lib/browser/{repeated-block-TFr4BLwy.cjs → repeated-block-5XWrl9K_.cjs} +1 -1
  21. package/lib/browser/{repeated-block-mSIesjGs.js → repeated-block-Q_ZwpK_f.js} +2 -2
  22. package/lib/browser/style.css +1 -1
  23. package/lib/edge/{awaiter-aKsQoHtg.cjs → awaiter-U5dzDHgu.cjs} +1 -1
  24. package/lib/edge/{awaiter-tQgudeqC.js → awaiter-WG2U1SLe.js} +1 -1
  25. package/lib/edge/{block-styles-ZHZgmvQd.cjs → block-styles-8riPa2nV.cjs} +1 -1
  26. package/lib/edge/{block-styles-s3hCMtmI.js → block-styles-d6H_2qfc.js} +1 -1
  27. package/lib/edge/{block-wrapper-uHIPKxTk.js → block-wrapper-DalO5rX1.js} +3 -3
  28. package/lib/{node/block-wrapper-4yfVr0a3.cjs → edge/block-wrapper-tfBkt1Tp.cjs} +1 -1
  29. package/lib/edge/blocks/image/image.types.d.ts +1 -0
  30. package/lib/edge/blocks/image/image.vue.d.ts +3 -0
  31. package/lib/edge/component-ref-1TRo8A9e.cjs +1 -0
  32. package/lib/{node/component-ref-S9nt10e2.js → edge/component-ref-vELPeydW.js} +22 -9
  33. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +7 -1
  34. package/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +6 -1
  35. package/lib/edge/constants/sdk-version.d.ts +1 -1
  36. package/lib/edge/{get-block-properties-IhQE3dQp.cjs → get-block-properties-7YbY_OI5.cjs} +1 -1
  37. package/lib/edge/{get-block-properties-1P58e_jB.js → get-block-properties-zSAgWOI7.js} +1 -1
  38. package/lib/edge/{index-h6rwtSlC.cjs → index-Br3H88Vv.cjs} +3 -3
  39. package/lib/edge/{index-DDqUrQvk.js → index-ik27fVN8.js} +27 -9
  40. package/lib/edge/index.cjs +1 -1
  41. package/lib/edge/index.mjs +1 -1
  42. package/lib/{node/repeated-block-Z_oZFejE.cjs → edge/repeated-block--MEFT5i9.cjs} +1 -1
  43. package/lib/edge/{repeated-block-Ga7BjpSB.js → repeated-block-Qq6seyY_.js} +2 -2
  44. package/lib/edge/style.css +1 -1
  45. package/lib/node/{awaiter-sgWllbNA.js → awaiter-JVw8_HCI.js} +1 -1
  46. package/lib/node/{awaiter-zEHHCWcp.cjs → awaiter-kxHCR3Q_.cjs} +1 -1
  47. package/lib/node/{block-styles-wNanyMrr.cjs → block-styles-uL3rMXp_.cjs} +1 -1
  48. package/lib/node/{block-styles-gvP8QXL9.js → block-styles-wV1M-xil.js} +1 -1
  49. package/lib/node/{block-wrapper-tAtRAAzI.js → block-wrapper-EpYTlf7c.js} +3 -3
  50. package/lib/{edge/block-wrapper-K7pkIgyg.cjs → node/block-wrapper-ijNIjuKa.cjs} +1 -1
  51. package/lib/node/blocks/image/image.types.d.ts +1 -0
  52. package/lib/node/blocks/image/image.vue.d.ts +3 -0
  53. package/lib/{edge/component-ref-G9jxu6eG.js → node/component-ref-E7FZm-QW.js} +27 -14
  54. package/lib/node/component-ref-QjqaHbPk.cjs +1 -0
  55. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +7 -1
  56. package/lib/node/components/blocks/blocks-wrapper.vue.d.ts +6 -1
  57. package/lib/node/constants/sdk-version.d.ts +1 -1
  58. package/lib/node/{get-block-properties-9kc_Rs8t.cjs → get-block-properties-CJ2y4ERa.cjs} +1 -1
  59. package/lib/node/{get-block-properties-mPFnCMMe.js → get-block-properties-Ymr5GC2R.js} +1 -1
  60. package/lib/node/{index-fDG3wEOU.js → index--dPDAmOY.js} +66 -48
  61. package/lib/node/{index-Sccx8oZR.cjs → index-S0c5bqpa.cjs} +3 -3
  62. package/lib/node/index.cjs +1 -1
  63. package/lib/node/index.mjs +1 -1
  64. package/lib/node/{repeated-block-ks0MXAV1.js → repeated-block-_fR3czyr.js} +2 -2
  65. package/lib/{edge/repeated-block-Q0hp4buX.cjs → node/repeated-block-r1S-Zak0.cjs} +1 -1
  66. package/lib/node/style.css +1 -1
  67. package/package.json +1 -1
  68. package/lib/browser/component-ref-ShKo3K9p.cjs +0 -1
  69. package/lib/edge/component-ref-jnRNUQoG.cjs +0 -1
  70. package/lib/node/component-ref-JSgpIHbc.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as I, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as yt, toDisplayString as te, defineAsyncComponent as K, createVNode as P, renderList as W, createCommentVNode as S, h as Ne, createElementVNode as H, normalizeStyle as F, normalizeClass as J, markRaw as kt } from "vue";
2
- import { T as R, g as vt, f as St, i as $, s as Ct, r as Tt, p as wt, a as It, l as B, b as Oe, c as me, d as $t, n as Fe, e as D, h as E, j as Rt } from "./should-force-browser-runtime-in-node-ikxWrCvn.js";
1
+ import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as I, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as yt, toDisplayString as te, defineAsyncComponent as K, createVNode as P, renderList as W, createCommentVNode as S, h as Ne, createElementVNode as H, normalizeStyle as U, normalizeClass as J, markRaw as kt } from "vue";
2
+ import { T as R, g as vt, f as St, i as $, s as Ct, r as Tt, p as wt, a as It, l as B, b as Oe, c as me, d as $t, n as Ue, e as D, h as E, j as Rt } from "./should-force-browser-runtime-in-node-ikxWrCvn.js";
3
3
  const Et = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Pt = (e) => typeof e == "string" && Et.has(e.toLowerCase());
4
4
  function V(e = {}, t, n) {
5
5
  const o = {};
@@ -114,13 +114,13 @@ const Wt = /* @__PURE__ */ g(xt, [["render", Vt]]), Nt = Symbol(), ce = {
114
114
  model: ""
115
115
  },
116
116
  key: Nt
117
- }, Ot = Symbol(), Ue = {
117
+ }, Ot = Symbol(), Fe = {
118
118
  Components: { registeredComponents: {} },
119
119
  key: Ot
120
120
  }, De = (e, t, n) => {
121
121
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, s) => r != null ? r[s] : r, e);
122
122
  return o === void 0 || o === e ? n : o;
123
- }, Ft = ({
123
+ }, Ut = ({
124
124
  code: e,
125
125
  builder: t,
126
126
  context: n,
@@ -140,9 +140,9 @@ const Wt = /* @__PURE__ */ g(xt, [["render", Vt]]), Nt = Symbol(), ce = {
140
140
  })
141
141
  });
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
- }, Ut = (e) => $() || Ct({
143
+ }, Ft = (e) => $() || Ct({
144
144
  shouldLogWarning: !0
145
- }) ? Ft(e) : Tt(e), Dt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Lt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ht = (e) => {
145
+ }) ? Ut(e) : Tt(e), Dt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Lt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ht = (e) => {
146
146
  var t, n, o, r, s, i;
147
147
  return ((o = (n = (t = Dt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((i = (s = (r = Lt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : s.getPath) == null ? void 0 : i.slice(1));
148
148
  };
@@ -175,7 +175,7 @@ function Y({
175
175
  localState: n
176
176
  };
177
177
  try {
178
- return Ut(a);
178
+ return Ft(a);
179
179
  } catch (u) {
180
180
  B.error("Failed code evaluation: " + u.message, {
181
181
  code: e
@@ -374,7 +374,7 @@ function Gs(e) {
374
374
  const Re = "builder.", tn = "options.", Me = (e) => {
375
375
  if (!e)
376
376
  return {};
377
- const t = Fe(e), n = {};
377
+ const t = Ue(e), n = {};
378
378
  return Object.keys(t).forEach((o) => {
379
379
  if (o.startsWith(Re)) {
380
380
  const r = o.replace(Re, "").replace(tn, "");
@@ -386,7 +386,7 @@ const Re = "builder.", tn = "options.", Me = (e) => {
386
386
  return {};
387
387
  const e = new URLSearchParams(window.location.search);
388
388
  return Me(e);
389
- }, je = "4.0.3", Ke = () => ({
389
+ }, je = "4.0.5", Ke = () => ({
390
390
  "X-Builder-SDK": R,
391
391
  "X-Builder-SDK-GEN": "2",
392
392
  "X-Builder-SDK-Version": je
@@ -933,13 +933,13 @@ const Vn = "v3", Be = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ye = (
933
933
  staleCacheSeconds: f,
934
934
  sort: v,
935
935
  includeUnpublished: T,
936
- apiHost: U
936
+ apiHost: F
937
937
  } = e;
938
938
  if (!s)
939
939
  throw new Error("Missing API key");
940
940
  if (!["v3"].includes(a))
941
941
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
942
- const bt = t !== 1, gt = U || "https://cdn.builder.io", w = new URL(`${gt}/api/${a}/content/${r}`);
942
+ const bt = t !== 1, gt = F || "https://cdn.builder.io", w = new URL(`${gt}/api/${a}/content/${r}`);
943
943
  w.searchParams.set("apiKey", s), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(bt)), w.searchParams.set("includeRefs", String(!0));
944
944
  const oe = l || (n == null ? void 0 : n.locale);
945
945
  let L = n || {};
@@ -955,7 +955,7 @@ const Vn = "v3", Be = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ye = (
955
955
  }
956
956
  const Te = {
957
957
  ...nn(),
958
- ...Fe(e.options || {})
958
+ ...Ue(e.options || {})
959
959
  };
960
960
  L = {
961
961
  ...L,
@@ -994,7 +994,7 @@ async function ke(e) {
994
994
  });
995
995
  return t && t[0] || null;
996
996
  }
997
- const Fn = async (e) => {
997
+ const Un = async (e) => {
998
998
  var i;
999
999
  const t = ye(e), n = e.fetch ?? An, o = {
1000
1000
  ...e.fetchOptions,
@@ -1004,7 +1004,7 @@ const Fn = async (e) => {
1004
1004
  }
1005
1005
  };
1006
1006
  return await (await n(t.href, o)).json();
1007
- }, Un = async (e, t, n = ye(e)) => {
1007
+ }, Fn = async (e, t, n = ye(e)) => {
1008
1008
  const o = G(e.canTrack);
1009
1009
  if (n.search.includes("preview="), !o || !($() || R === "reactNative"))
1010
1010
  return t.results;
@@ -1022,14 +1022,14 @@ const Fn = async (e) => {
1022
1022
  return t.results;
1023
1023
  };
1024
1024
  async function Dn(e) {
1025
- const t = ye(e), n = await Fn(e);
1025
+ const t = ye(e), n = await Un(e);
1026
1026
  if (!On(n))
1027
1027
  throw B.error("Error fetching data. ", {
1028
1028
  url: t,
1029
1029
  content: n,
1030
1030
  options: e
1031
1031
  }), n;
1032
- return Un(e, n);
1032
+ return Fn(e, n);
1033
1033
  }
1034
1034
  const Zs = async (e) => {
1035
1035
  var o, r, s;
@@ -1267,22 +1267,22 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1267
1267
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1268
1268
  e
1269
1269
  ), e;
1270
- }), _n = () => import("./block-styles-gvP8QXL9.js").then((e) => e.default).catch((e) => {
1270
+ }), _n = () => import("./block-styles-wV1M-xil.js").then((e) => e.default).catch((e) => {
1271
1271
  throw console.error(
1272
1272
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
1273
1273
  e
1274
1274
  ), e;
1275
- }), eo = () => import("./block-wrapper-tAtRAAzI.js").then((e) => e.default).catch((e) => {
1275
+ }), eo = () => import("./block-wrapper-EpYTlf7c.js").then((e) => e.default).catch((e) => {
1276
1276
  throw console.error(
1277
1277
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1278
1278
  e
1279
1279
  ), e;
1280
- }), to = () => import("./component-ref-S9nt10e2.js").then((e) => e.default).catch((e) => {
1280
+ }), to = () => import("./component-ref-E7FZm-QW.js").then((e) => e.default).catch((e) => {
1281
1281
  throw console.error(
1282
1282
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1283
1283
  e
1284
1284
  ), e;
1285
- }), no = () => import("./repeated-block-ks0MXAV1.js").then((e) => e.default).catch((e) => {
1285
+ }), no = () => import("./repeated-block-_fR3czyr.js").then((e) => e.default).catch((e) => {
1286
1286
  throw console.error(
1287
1287
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1288
1288
  e
@@ -1460,8 +1460,15 @@ const dt = /* @__PURE__ */ g(oo, [["render", ro]]), ti = /* @__PURE__ */ Object.
1460
1460
  "BlocksWrapperProps",
1461
1461
  "BlocksWrapper"
1462
1462
  ],
1463
+ data() {
1464
+ return { shouldUpdate: !1 };
1465
+ },
1463
1466
  mounted() {
1464
1467
  },
1468
+ watch: {
1469
+ onUpdateHook0: { handler() {
1470
+ }, immediate: !0 }
1471
+ },
1465
1472
  computed: {
1466
1473
  className() {
1467
1474
  var e;
@@ -1476,6 +1483,11 @@ const dt = /* @__PURE__ */ g(oo, [["render", ro]]), ti = /* @__PURE__ */ Object.
1476
1483
  return;
1477
1484
  const e = "this.", t = "component.options.";
1478
1485
  return this.path.startsWith(e) ? this.path.replace(e, "") : this.path.startsWith(t) ? this.path : `${t}${this.path || ""}`;
1486
+ },
1487
+ onUpdateHook0() {
1488
+ return {
1489
+ 0: this.blocks
1490
+ };
1479
1491
  }
1480
1492
  },
1481
1493
  methods: {
@@ -1524,7 +1536,7 @@ function io(e, t, n, o, r, s) {
1524
1536
  _: 3
1525
1537
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1526
1538
  }
1527
- const ao = /* @__PURE__ */ g(so, [["render", io], ["__scopeId", "data-v-4755f88c"]]), lo = b({
1539
+ const ao = /* @__PURE__ */ g(so, [["render", io], ["__scopeId", "data-v-e05fb921"]]), lo = b({
1528
1540
  name: "builder-blocks",
1529
1541
  components: { BlocksWrapper: ao, Block: dt },
1530
1542
  props: [
@@ -1539,7 +1551,7 @@ const ao = /* @__PURE__ */ g(so, [["render", io], ["__scopeId", "data-v-4755f88c
1539
1551
  ],
1540
1552
  inject: {
1541
1553
  builderContext: ce.key,
1542
- componentsContext: Ue.key
1554
+ componentsContext: Fe.key
1543
1555
  }
1544
1556
  });
1545
1557
  function co(e, t, n, o, r, s) {
@@ -1827,7 +1839,7 @@ function go(e, t, n, o, r, s) {
1827
1839
  }, 1032, ["TagName", "attributes"]))), 128))
1828
1840
  ], 16);
1829
1841
  }
1830
- const yo = /* @__PURE__ */ g(bo, [["render", go], ["__scopeId", "data-v-bdc9da04"]]), ko = b({
1842
+ const yo = /* @__PURE__ */ g(bo, [["render", go], ["__scopeId", "data-v-459e0e34"]]), ko = b({
1831
1843
  name: "builder-fragment-component",
1832
1844
  props: []
1833
1845
  });
@@ -1877,6 +1889,7 @@ const wo = b({
1877
1889
  "aspectRatio",
1878
1890
  "highPriority",
1879
1891
  "altText",
1892
+ "title",
1880
1893
  "backgroundPosition",
1881
1894
  "backgroundSize",
1882
1895
  "className",
@@ -1916,7 +1929,7 @@ const wo = b({
1916
1929
  return this.aspectRatio ? e : void 0;
1917
1930
  }
1918
1931
  }
1919
- }), Io = ["srcset"], $o = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], Ro = {
1932
+ }), Io = ["srcset"], $o = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Ro = {
1920
1933
  key: 2,
1921
1934
  class: "div-29wpyomtntv-2"
1922
1935
  };
@@ -1933,8 +1946,9 @@ function Eo(e, t, n, o, r, s) {
1933
1946
  loading: e.highPriority ? "eager" : "lazy",
1934
1947
  fetchpriority: e.highPriority ? "high" : "auto",
1935
1948
  alt: e.altText,
1949
+ title: e.title,
1936
1950
  role: e.altText ? void 0 : "presentation",
1937
- style: F({
1951
+ style: U({
1938
1952
  objectPosition: e.backgroundPosition || "center",
1939
1953
  objectFit: e.backgroundSize || "cover",
1940
1954
  ...e.aspectRatioCss
@@ -1950,7 +1964,7 @@ function Eo(e, t, n, o, r, s) {
1950
1964
  e.aspectRatio && !((l = (i = e.builderBlock) == null ? void 0 : i.children) != null && l.length && e.fitContent) ? (c(), p("div", {
1951
1965
  key: 0,
1952
1966
  class: "builder-image-sizer div-29wpyomtntv",
1953
- style: F({
1967
+ style: U({
1954
1968
  paddingTop: e.aspectRatio * 100 + "%"
1955
1969
  })
1956
1970
  }, null, 4)) : S("", !0),
@@ -1960,7 +1974,7 @@ function Eo(e, t, n, o, r, s) {
1960
1974
  ])) : S("", !0)
1961
1975
  ], 64);
1962
1976
  }
1963
- const Po = /* @__PURE__ */ g(wo, [["render", Eo], ["__scopeId", "data-v-33d4f353"]]), Bo = b({
1977
+ const Po = /* @__PURE__ */ g(wo, [["render", Eo], ["__scopeId", "data-v-717bf141"]]), Bo = b({
1964
1978
  name: "builder-section-component",
1965
1979
  props: ["attributes", "maxWidth"],
1966
1980
  data() {
@@ -2205,16 +2219,16 @@ const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2205
2219
  }
2206
2220
  }
2207
2221
  }), Oo = ["data-index", "onClick"];
2208
- function Fo(e, t, n, o, r, s) {
2222
+ function Uo(e, t, n, o, r, s) {
2209
2223
  const i = k("Blocks");
2210
2224
  return c(), p("div", {
2211
2225
  class: "builder-accordion",
2212
- style: F(e.accordionStyles)
2226
+ style: U(e.accordionStyles)
2213
2227
  }, [
2214
2228
  (c(!0), p(I, null, W(e.items, (l, a) => (c(), p(I, { key: a }, [
2215
2229
  H("div", {
2216
2230
  class: J(e.getAccordionTitleClassName(a)),
2217
- style: F({
2231
+ style: U({
2218
2232
  ...e.accordionTitleStyles,
2219
2233
  ...e.grid && {
2220
2234
  width: e.gridRowWidth,
@@ -2236,7 +2250,7 @@ function Fo(e, t, n, o, r, s) {
2236
2250
  e.open.includes(a) ? (c(), p("div", {
2237
2251
  key: 0,
2238
2252
  class: J(e.getAccordionDetailClassName(a)),
2239
- style: F(e.accordionDetailStyles)
2253
+ style: U(e.accordionDetailStyles)
2240
2254
  }, [
2241
2255
  P(i, {
2242
2256
  blocks: l.detail,
@@ -2250,7 +2264,7 @@ function Fo(e, t, n, o, r, s) {
2250
2264
  ], 64))), 128))
2251
2265
  ], 4);
2252
2266
  }
2253
- const Uo = /* @__PURE__ */ g(No, [["render", Fo]]), Do = {
2267
+ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2254
2268
  name: "Core:Button",
2255
2269
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2256
2270
  defaultStyles: {
@@ -2566,6 +2580,10 @@ const Uo = /* @__PURE__ */ g(No, [["render", Fo]]), Do = {
2566
2580
  name: "altText",
2567
2581
  type: "string",
2568
2582
  helperText: "Text to display when the user has images off"
2583
+ }, {
2584
+ name: "title",
2585
+ type: "string",
2586
+ helperText: "Text to display when hovering over the asset"
2569
2587
  }, {
2570
2588
  name: "height",
2571
2589
  type: "number",
@@ -2909,7 +2927,7 @@ function er(e, t, n, o, r, s) {
2909
2927
  return c(), p("div", null, [
2910
2928
  H("div", {
2911
2929
  class: "builder-tabs-wrap",
2912
- style: F({
2930
+ style: U({
2913
2931
  display: "flex",
2914
2932
  flexDirection: "row",
2915
2933
  justifyContent: e.tabHeaderLayout || "flex-start",
@@ -2919,7 +2937,7 @@ function er(e, t, n, o, r, s) {
2919
2937
  (c(!0), p(I, null, W(e.tabs, (l, a) => (c(), p("span", {
2920
2938
  key: a,
2921
2939
  class: J(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
2922
- style: F({
2940
+ style: U({
2923
2941
  ...e.activeTab === a ? e.activeTabStyle : {}
2924
2942
  }),
2925
2943
  onClick: async (u) => e.onClick(a)
@@ -3507,12 +3525,12 @@ const yr = /* @__PURE__ */ g(fr, [["render", gr]]), kr = {
3507
3525
  }
3508
3526
  if (this.successUrl)
3509
3527
  if (this.$refs.formRef) {
3510
- const U = new CustomEvent("route", {
3528
+ const F = new CustomEvent("route", {
3511
3529
  detail: {
3512
3530
  url: this.successUrl
3513
3531
  }
3514
3532
  });
3515
- this.$refs.formRef.dispatchEvent(U), U.defaultPrevented || (location.href = this.successUrl);
3533
+ this.$refs.formRef.dispatchEvent(F), F.defaultPrevented || (location.href = this.successUrl);
3516
3534
  } else
3517
3535
  location.href = this.successUrl;
3518
3536
  }
@@ -3705,7 +3723,7 @@ function Or(e, t, n, o, r, s) {
3705
3723
  }, te(i.name || i.value), 9, Nr))), 128))
3706
3724
  ], 16, Wr);
3707
3725
  }
3708
- const Fr = /* @__PURE__ */ g(Vr, [["render", Or]]), Ur = {
3726
+ const Ur = /* @__PURE__ */ g(Vr, [["render", Or]]), Fr = {
3709
3727
  name: "Form:SubmitButton",
3710
3728
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3711
3729
  defaultStyles: {
@@ -4051,7 +4069,7 @@ function rs(e, t, n, o, r, s) {
4051
4069
  ], 16, ts),
4052
4070
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), p("div", {
4053
4071
  key: 0,
4054
- style: F({
4072
+ style: U({
4055
4073
  width: "100%",
4056
4074
  paddingTop: e.aspectRatio * 100 + "%",
4057
4075
  pointerEvents: "none",
@@ -4080,9 +4098,9 @@ const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4080
4098
  ...Rr
4081
4099
  }, {
4082
4100
  component: Hr,
4083
- ...Ur
4101
+ ...Fr
4084
4102
  }, {
4085
- component: Fr,
4103
+ component: Ur,
4086
4104
  ...xr
4087
4105
  }, {
4088
4106
  component: qr,
@@ -4121,7 +4139,7 @@ const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4121
4139
  component: tr,
4122
4140
  ...Xo
4123
4141
  }, {
4124
- component: Uo,
4142
+ component: Fo,
4125
4143
  ...Vo
4126
4144
  }, ...is()], as = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4127
4145
  function getAndSetVariantId() {
@@ -4784,7 +4802,7 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4784
4802
  provide() {
4785
4803
  const e = this;
4786
4804
  return {
4787
- [Ue.key]: {
4805
+ [Fe.key]: {
4788
4806
  registeredComponents: e.registeredComponents
4789
4807
  }
4790
4808
  };
@@ -4833,7 +4851,7 @@ function Os(e, t, n, o, r, s) {
4833
4851
  isNestedRender: e.isNestedRender
4834
4852
  }, {}), {
4835
4853
  default: N(() => {
4836
- var h, m, d, f, v, T, U;
4854
+ var h, m, d, f, v, T, F;
4837
4855
  return [
4838
4856
  e.isSsrAbTest ? (c(), y(i, {
4839
4857
  key: 0,
@@ -4850,7 +4868,7 @@ function Os(e, t, n, o, r, s) {
4850
4868
  customFonts: (v = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : v.customFonts
4851
4869
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : S("", !0),
4852
4870
  P(a, {
4853
- blocks: (U = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : U.blocks,
4871
+ blocks: (F = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : F.blocks,
4854
4872
  context: e.builderContextSignal,
4855
4873
  registeredComponents: e.registeredComponents,
4856
4874
  linkComponent: e.linkComponent
@@ -4860,12 +4878,12 @@ function Os(e, t, n, o, r, s) {
4860
4878
  _: 1
4861
4879
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
4862
4880
  }
4863
- const Fs = /* @__PURE__ */ g(Ns, [["render", Os]]), Us = b({
4881
+ const Us = /* @__PURE__ */ g(Ns, [["render", Os]]), Fs = b({
4864
4882
  name: "content-variants",
4865
4883
  components: {
4866
4884
  InlinedScript: pt,
4867
4885
  InlinedStyles: Se,
4868
- ContentComponent: Fs
4886
+ ContentComponent: Us
4869
4887
  },
4870
4888
  props: [
4871
4889
  "canTrack",
@@ -4999,7 +5017,7 @@ function Ds(e, t, n, o, r, s) {
4999
5017
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5000
5018
  ], 64);
5001
5019
  }
5002
- const Ls = /* @__PURE__ */ g(Us, [["render", Ds]]), Hs = async ({
5020
+ const Ls = /* @__PURE__ */ g(Fs, [["render", Ds]]), Hs = async ({
5003
5021
  builderContextValue: e,
5004
5022
  symbol: t
5005
5023
  }) => {
@@ -5140,7 +5158,7 @@ export {
5140
5158
  Xs as u,
5141
5159
  Zs as v,
5142
5160
  Ws as w,
5143
- Un as x,
5161
+ Fn as x,
5144
5162
  Dn as y,
5145
5163
  ke as z
5146
5164
  };