@builder.io/sdk-vue 0.0.2-2 → 0.0.3-0

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 (249) hide show
  1. package/package.json +3 -1
  2. package/packages/_vue2/dist/block-styles.69994573.cjs +6 -0
  3. package/packages/_vue2/dist/block-styles.f1cd7e30.js +86 -0
  4. package/packages/_vue2/dist/env.d.ts +1 -0
  5. package/packages/_vue2/dist/get-processed-block.53da1bfe.js +40 -0
  6. package/packages/_vue2/dist/get-processed-block.b71c1bb2.cjs +1 -0
  7. package/packages/_vue2/dist/{index.e1356b24.js → index.a5e0b693.js} +143 -119
  8. package/packages/_vue2/dist/index.a63c466e.cjs +4 -0
  9. package/packages/_vue2/dist/render-block.7c0c9395.js +230 -0
  10. package/packages/_vue2/dist/render-block.8c8b9fed.cjs +3 -0
  11. package/packages/_vue2/dist/render-component-with-context.884e23d0.js +53 -0
  12. package/packages/_vue2/dist/render-component-with-context.eb721952.cjs +1 -0
  13. package/packages/_vue2/dist/{render-component.76541f08.js → render-component.7e81a5e0.js} +14 -14
  14. package/packages/_vue2/dist/render-component.92306f84.cjs +1 -0
  15. package/packages/_vue2/dist/{render-inlined-styles.0a71b4a1.cjs → render-inlined-styles.0458e786.cjs} +1 -1
  16. package/packages/_vue2/dist/{render-inlined-styles.fb54d112.js → render-inlined-styles.64527ebc.js} +1 -1
  17. package/packages/_vue2/dist/render-repeated-block.2192d332.cjs +1 -0
  18. package/packages/_vue2/dist/{render-repeated-block.caf201fb.js → render-repeated-block.bd19b766.js} +11 -8
  19. package/packages/_vue2/dist/{render-styles.79b15aed.js → render-styles.67a8bb35.js} +8 -8
  20. package/packages/_vue2/dist/{render-styles.76adf086.cjs → render-styles.7ab6335e.cjs} +1 -1
  21. package/packages/_vue2/dist/sdk.cjs +1 -1
  22. package/packages/_vue2/dist/sdk.d.ts +1 -0
  23. package/packages/_vue2/dist/sdk.js +4 -4
  24. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +11 -0
  25. package/packages/_vue2/dist/src/blocks/button/component-info.d.ts +2 -0
  26. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +306 -0
  27. package/packages/_vue2/dist/src/blocks/columns/component-info.d.ts +2 -0
  28. package/packages/_vue2/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  29. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  30. package/packages/_vue2/dist/src/blocks/embed/component-info.d.ts +2 -0
  31. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  32. package/packages/_vue2/dist/src/blocks/embed/helpers.d.ts +1 -0
  33. package/packages/_vue2/dist/src/blocks/fragment/component-info.d.ts +2 -0
  34. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  35. package/packages/_vue2/dist/src/blocks/image/component-info.d.ts +2 -0
  36. package/packages/_vue2/dist/src/blocks/image/image.helpers.d.ts +1 -0
  37. package/packages/_vue2/dist/src/blocks/img/component-info.d.ts +2 -0
  38. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +17 -0
  39. package/packages/_vue2/dist/src/blocks/section/component-info.d.ts +2 -0
  40. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +11 -0
  41. package/packages/_vue2/dist/src/blocks/symbol/component-info.d.ts +2 -0
  42. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +396 -0
  43. package/packages/_vue2/dist/src/blocks/text/component-info.d.ts +2 -0
  44. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +8 -0
  45. package/packages/_vue2/dist/src/blocks/util.d.ts +1 -0
  46. package/packages/_vue2/dist/src/blocks/video/component-info.d.ts +2 -0
  47. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +25 -0
  48. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  49. package/packages/_vue2/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  50. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +237 -0
  51. package/packages/_vue2/dist/src/components/render-block/render-component-with-context.vue.d.ts +116 -0
  52. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +141 -0
  53. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +231 -0
  54. package/packages/_vue2/dist/src/components/render-block/types.d.ts +6 -0
  55. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +279 -0
  56. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  57. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +368 -0
  58. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  59. package/packages/_vue2/dist/src/constants/builder-registered-components.d.ts +6 -0
  60. package/packages/_vue2/dist/src/constants/device-sizes.d.ts +2 -0
  61. package/packages/_vue2/dist/src/constants/target.d.ts +2 -0
  62. package/packages/_vue2/dist/src/context/builder.context.d.ts +2 -0
  63. package/packages/_vue2/dist/src/context/types.d.ts +17 -0
  64. package/packages/_vue2/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  65. package/packages/_vue2/dist/src/functions/evaluate.d.ts +5 -0
  66. package/packages/_vue2/dist/src/functions/event-handler-name.d.ts +1 -0
  67. package/packages/_vue2/dist/src/functions/extract-text-styles.d.ts +4 -0
  68. package/packages/_vue2/dist/src/functions/fast-clone.d.ts +4 -0
  69. package/packages/_vue2/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  70. package/packages/_vue2/dist/src/functions/get-block-actions.d.ts +9 -0
  71. package/packages/_vue2/dist/src/functions/get-block-component-options.d.ts +2 -0
  72. package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +5 -0
  73. package/packages/_vue2/dist/src/functions/get-block-tag.d.ts +3 -0
  74. package/packages/_vue2/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  75. package/packages/_vue2/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  76. package/packages/_vue2/dist/src/functions/get-content/index.d.ts +9 -0
  77. package/packages/_vue2/dist/src/functions/get-content/types.d.ts +31 -0
  78. package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -0
  79. package/packages/_vue2/dist/src/functions/get-global-this.d.ts +1 -0
  80. package/packages/_vue2/dist/src/functions/get-processed-block.d.ts +10 -0
  81. package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  82. package/packages/_vue2/dist/src/functions/is-browser.d.ts +1 -0
  83. package/packages/_vue2/dist/src/functions/is-editing.d.ts +1 -0
  84. package/packages/_vue2/dist/src/functions/is-iframe.d.ts +1 -0
  85. package/packages/_vue2/dist/src/functions/is-previewing.d.ts +1 -0
  86. package/packages/_vue2/dist/src/functions/mark-mutable.d.ts +2 -0
  87. package/packages/_vue2/dist/src/functions/register-component.d.ts +14 -0
  88. package/packages/_vue2/dist/src/functions/register.d.ts +16 -0
  89. package/packages/_vue2/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  90. package/packages/_vue2/dist/src/functions/set-editor-settings.d.ts +4 -0
  91. package/packages/_vue2/dist/src/functions/set.d.ts +7 -0
  92. package/packages/_vue2/dist/src/functions/track.d.ts +21 -0
  93. package/packages/_vue2/dist/src/functions/transform-block.d.ts +2 -0
  94. package/packages/_vue2/dist/src/helpers/ab-tests.d.ts +8 -0
  95. package/packages/_vue2/dist/src/helpers/cookie.d.ts +15 -0
  96. package/packages/_vue2/dist/src/helpers/css.d.ts +5 -0
  97. package/packages/_vue2/dist/src/helpers/flatten.d.ts +6 -0
  98. package/packages/_vue2/dist/src/helpers/localStorage.d.ts +8 -0
  99. package/packages/_vue2/dist/src/helpers/nullable.d.ts +2 -0
  100. package/packages/_vue2/dist/src/helpers/sessionId.d.ts +6 -0
  101. package/packages/_vue2/dist/src/helpers/url.d.ts +6 -0
  102. package/packages/_vue2/dist/src/helpers/uuid.d.ts +8 -0
  103. package/packages/_vue2/dist/src/helpers/visitorId.d.ts +6 -0
  104. package/packages/_vue2/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  105. package/packages/_vue2/dist/src/index-helpers/top-of-file.d.ts +1 -0
  106. package/packages/_vue2/dist/src/index.d.ts +8 -0
  107. package/packages/_vue2/dist/src/scripts/init-editing.d.ts +2 -0
  108. package/packages/_vue2/dist/src/types/builder-block.d.ts +57 -0
  109. package/packages/_vue2/dist/src/types/builder-content.d.ts +38 -0
  110. package/packages/_vue2/dist/src/types/can-track.d.ts +3 -0
  111. package/packages/_vue2/dist/src/types/components.d.ts +177 -0
  112. package/packages/_vue2/dist/src/types/deep-partial.d.ts +3 -0
  113. package/packages/_vue2/dist/src/types/element.d.ts +59 -0
  114. package/packages/_vue2/dist/src/types/typescript.d.ts +5 -0
  115. package/packages/_vue2/dist/style.css +1 -1
  116. package/packages/_vue3/dist/block-styles.a49e972d.cjs +6 -0
  117. package/packages/_vue3/dist/block-styles.a91eeb93.js +83 -0
  118. package/packages/_vue3/dist/env.d.ts +1 -0
  119. package/packages/_vue3/dist/get-processed-block.0d08be3e.js +40 -0
  120. package/packages/_vue3/dist/get-processed-block.f32aca5e.cjs +1 -0
  121. package/packages/_vue3/dist/{index.eb0e01ba.js → index.06c0f5c8.js} +283 -269
  122. package/packages/_vue3/dist/index.4ab36c30.cjs +4 -0
  123. package/packages/_vue3/dist/render-block.425938f2.js +241 -0
  124. package/packages/_vue3/dist/render-block.5db91f52.cjs +3 -0
  125. package/packages/_vue3/dist/render-component-with-context.9805829c.js +50 -0
  126. package/packages/_vue3/dist/render-component-with-context.d09cfab0.cjs +1 -0
  127. package/packages/_vue3/dist/render-component.863aa9a1.cjs +1 -0
  128. package/packages/_vue3/dist/{render-component.963a01c2.js → render-component.87cc6d83.js} +15 -16
  129. package/packages/_vue3/dist/render-inlined-styles.5b918790.cjs +1 -0
  130. package/packages/_vue3/dist/{render-inlined-styles.1c41d49e.js → render-inlined-styles.9ac8320c.js} +7 -8
  131. package/packages/_vue3/dist/{render-repeated-block.760bb69a.js → render-repeated-block.3d799bba.js} +11 -9
  132. package/packages/_vue3/dist/render-repeated-block.9dc8238b.cjs +1 -0
  133. package/packages/_vue3/dist/{render-styles.750ea842.js → render-styles.9c635f29.js} +14 -15
  134. package/packages/_vue3/dist/{render-styles.c0cc9565.cjs → render-styles.cb10c812.cjs} +2 -2
  135. package/packages/_vue3/dist/sdk.cjs +1 -1
  136. package/packages/_vue3/dist/sdk.d.ts +1 -0
  137. package/packages/_vue3/dist/sdk.js +7 -7
  138. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +11 -0
  139. package/packages/_vue3/dist/src/blocks/button/component-info.d.ts +2 -0
  140. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +77 -0
  141. package/packages/_vue3/dist/src/blocks/columns/component-info.d.ts +2 -0
  142. package/packages/_vue3/dist/src/blocks/custom-code/component-info.d.ts +2 -0
  143. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +18 -0
  144. package/packages/_vue3/dist/src/blocks/embed/component-info.d.ts +2 -0
  145. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +22 -0
  146. package/packages/_vue3/dist/src/blocks/embed/helpers.d.ts +1 -0
  147. package/packages/_vue3/dist/src/blocks/fragment/component-info.d.ts +2 -0
  148. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +10 -0
  149. package/packages/_vue3/dist/src/blocks/image/component-info.d.ts +2 -0
  150. package/packages/_vue3/dist/src/blocks/image/image.helpers.d.ts +1 -0
  151. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +31 -0
  152. package/packages/_vue3/dist/src/blocks/img/component-info.d.ts +2 -0
  153. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +17 -0
  154. package/packages/_vue3/dist/src/blocks/section/component-info.d.ts +2 -0
  155. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +11 -0
  156. package/packages/_vue3/dist/src/blocks/symbol/component-info.d.ts +2 -0
  157. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +167 -0
  158. package/packages/_vue3/dist/src/blocks/text/component-info.d.ts +2 -0
  159. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +8 -0
  160. package/packages/_vue3/dist/src/blocks/util.d.ts +1 -0
  161. package/packages/_vue3/dist/src/blocks/video/component-info.d.ts +2 -0
  162. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +25 -0
  163. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +31 -0
  164. package/packages/_vue3/dist/src/components/render-block/render-block.helpers.d.ts +1 -0
  165. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +8 -0
  166. package/packages/_vue3/dist/src/components/render-block/render-component-with-context.vue.d.ts +51 -0
  167. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +44 -0
  168. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +2 -0
  169. package/packages/_vue3/dist/src/components/render-block/types.d.ts +6 -0
  170. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +50 -0
  171. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +27 -0
  172. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +139 -0
  173. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -0
  174. package/packages/_vue3/dist/src/constants/builder-registered-components.d.ts +6 -0
  175. package/packages/_vue3/dist/src/constants/device-sizes.d.ts +2 -0
  176. package/packages/_vue3/dist/src/constants/target.d.ts +2 -0
  177. package/packages/_vue3/dist/src/context/builder.context.d.ts +2 -0
  178. package/packages/_vue3/dist/src/context/types.d.ts +17 -0
  179. package/packages/_vue3/dist/src/functions/camel-to-kebab-case.d.ts +1 -0
  180. package/packages/_vue3/dist/src/functions/evaluate.d.ts +5 -0
  181. package/packages/_vue3/dist/src/functions/event-handler-name.d.ts +1 -0
  182. package/packages/_vue3/dist/src/functions/extract-text-styles.d.ts +4 -0
  183. package/packages/_vue3/dist/src/functions/fast-clone.d.ts +4 -0
  184. package/packages/_vue3/dist/src/functions/get-block-actions-handler.d.ts +5 -0
  185. package/packages/_vue3/dist/src/functions/get-block-actions.d.ts +9 -0
  186. package/packages/_vue3/dist/src/functions/get-block-component-options.d.ts +2 -0
  187. package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +5 -0
  188. package/packages/_vue3/dist/src/functions/get-block-tag.d.ts +3 -0
  189. package/packages/_vue3/dist/src/functions/get-builder-search-params/index.d.ts +6 -0
  190. package/packages/_vue3/dist/src/functions/get-content/ab-testing.d.ts +5 -0
  191. package/packages/_vue3/dist/src/functions/get-content/index.d.ts +9 -0
  192. package/packages/_vue3/dist/src/functions/get-content/types.d.ts +31 -0
  193. package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -0
  194. package/packages/_vue3/dist/src/functions/get-global-this.d.ts +1 -0
  195. package/packages/_vue3/dist/src/functions/get-processed-block.d.ts +10 -0
  196. package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +6 -0
  197. package/packages/_vue3/dist/src/functions/is-browser.d.ts +1 -0
  198. package/packages/_vue3/dist/src/functions/is-editing.d.ts +1 -0
  199. package/packages/_vue3/dist/src/functions/is-iframe.d.ts +1 -0
  200. package/packages/_vue3/dist/src/functions/is-previewing.d.ts +1 -0
  201. package/packages/_vue3/dist/src/functions/mark-mutable.d.ts +2 -0
  202. package/packages/_vue3/dist/src/functions/register-component.d.ts +14 -0
  203. package/packages/_vue3/dist/src/functions/register.d.ts +16 -0
  204. package/packages/_vue3/dist/src/functions/sanitize-react-native-block-styles.d.ts +3 -0
  205. package/packages/_vue3/dist/src/functions/set-editor-settings.d.ts +4 -0
  206. package/packages/_vue3/dist/src/functions/set.d.ts +7 -0
  207. package/packages/_vue3/dist/src/functions/track.d.ts +21 -0
  208. package/packages/_vue3/dist/src/functions/transform-block.d.ts +2 -0
  209. package/packages/_vue3/dist/src/helpers/ab-tests.d.ts +8 -0
  210. package/packages/_vue3/dist/src/helpers/cookie.d.ts +15 -0
  211. package/packages/_vue3/dist/src/helpers/css.d.ts +5 -0
  212. package/packages/_vue3/dist/src/helpers/flatten.d.ts +6 -0
  213. package/packages/_vue3/dist/src/helpers/localStorage.d.ts +8 -0
  214. package/packages/_vue3/dist/src/helpers/nullable.d.ts +2 -0
  215. package/packages/_vue3/dist/src/helpers/sessionId.d.ts +6 -0
  216. package/packages/_vue3/dist/src/helpers/url.d.ts +6 -0
  217. package/packages/_vue3/dist/src/helpers/uuid.d.ts +8 -0
  218. package/packages/_vue3/dist/src/helpers/visitorId.d.ts +6 -0
  219. package/packages/_vue3/dist/src/index-helpers/blocks-exports.d.ts +10 -0
  220. package/packages/_vue3/dist/src/index-helpers/top-of-file.d.ts +1 -0
  221. package/packages/_vue3/dist/src/index.d.ts +8 -0
  222. package/packages/_vue3/dist/src/scripts/init-editing.d.ts +2 -0
  223. package/packages/_vue3/dist/src/types/builder-block.d.ts +57 -0
  224. package/packages/_vue3/dist/src/types/builder-content.d.ts +38 -0
  225. package/packages/_vue3/dist/src/types/can-track.d.ts +3 -0
  226. package/packages/_vue3/dist/src/types/components.d.ts +177 -0
  227. package/packages/_vue3/dist/src/types/deep-partial.d.ts +3 -0
  228. package/packages/_vue3/dist/src/types/element.d.ts +59 -0
  229. package/packages/_vue3/dist/src/types/typescript.d.ts +5 -0
  230. package/packages/_vue3/dist/style.css +1 -1
  231. package/packages/_vue2/dist/block-styles.7900ea80.cjs +0 -10
  232. package/packages/_vue2/dist/block-styles.dd3d70e3.js +0 -56
  233. package/packages/_vue2/dist/get-processed-block.14848083.cjs +0 -1
  234. package/packages/_vue2/dist/get-processed-block.eda4b627.js +0 -57
  235. package/packages/_vue2/dist/index.9247eff2.cjs +0 -4
  236. package/packages/_vue2/dist/render-block.a2f51c18.js +0 -237
  237. package/packages/_vue2/dist/render-block.e4f18476.cjs +0 -3
  238. package/packages/_vue2/dist/render-component.fc56f8dc.cjs +0 -1
  239. package/packages/_vue2/dist/render-repeated-block.0990371f.cjs +0 -1
  240. package/packages/_vue3/dist/block-styles.1f1fb83d.js +0 -54
  241. package/packages/_vue3/dist/block-styles.eb8f30fe.cjs +0 -10
  242. package/packages/_vue3/dist/get-processed-block.b7ff491d.cjs +0 -1
  243. package/packages/_vue3/dist/get-processed-block.c491559e.js +0 -57
  244. package/packages/_vue3/dist/index.36507004.cjs +0 -4
  245. package/packages/_vue3/dist/render-block.3cdd0c66.js +0 -254
  246. package/packages/_vue3/dist/render-block.98541a38.cjs +0 -3
  247. package/packages/_vue3/dist/render-component.442d659d.cjs +0 -1
  248. package/packages/_vue3/dist/render-inlined-styles.662df301.cjs +0 -1
  249. package/packages/_vue3/dist/render-repeated-block.2212c878.cjs +0 -1
@@ -1,4 +1,4 @@
1
- const _ = "reactNative";
1
+ const _ = "vue2";
2
2
  function u() {
3
3
  return typeof window < "u" && typeof document < "u";
4
4
  }
@@ -28,7 +28,11 @@ const q = () => {
28
28
  { name: "Box" },
29
29
  { name: "Text" },
30
30
  { name: "Image" },
31
- { name: "Columns" }
31
+ { name: "Columns" },
32
+ { name: "Core:Section" },
33
+ { name: "Core:Button" },
34
+ { name: "Embed" },
35
+ { name: "Custom Code" }
32
36
  ]
33
37
  });
34
38
  }, D = () => {
@@ -38,13 +42,14 @@ const q = () => {
38
42
  type: "builder.sdkInfo",
39
43
  data: {
40
44
  target: _,
41
- supportsPatchUpdates: !1
45
+ supportsPatchUpdates: !1,
46
+ supportsAddBlockScoping: !0
42
47
  }
43
48
  },
44
49
  "*"
45
50
  ), window.addEventListener("message", ({ data: e }) => {
46
51
  var n, o;
47
- if (e)
52
+ if (!!(e != null && e.type))
48
53
  switch (e.type) {
49
54
  case "builder.evaluate": {
50
55
  const s = e.data.text, r = e.data.arguments || [], a = e.data.id, c = new Function(s);
@@ -61,8 +66,8 @@ const q = () => {
61
66
  },
62
67
  "*"
63
68
  ) : i && typeof i.then == "function" ? i.then((d) => {
64
- var f;
65
- (f = window.parent) == null || f.postMessage(
69
+ var h;
70
+ (h = window.parent) == null || h.postMessage(
66
71
  {
67
72
  type: "builder.evaluateResult",
68
73
  data: { id: a, result: d }
@@ -92,9 +97,9 @@ const K = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t)
92
97
  "Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
93
98
  t
94
99
  ), t;
95
- }), J = {
100
+ }), G = {
96
101
  name: "builder-columns",
97
- components: { "render-blocks": K },
102
+ components: { RenderBlocks: K },
98
103
  props: [
99
104
  "space",
100
105
  "columns",
@@ -161,30 +166,32 @@ function p(t, e, n, o, s, r, a, c) {
161
166
  return l.call(C), d(H, C);
162
167
  };
163
168
  } else {
164
- var f = i.beforeCreate;
165
- i.beforeCreate = f ? [].concat(f, l) : [l];
169
+ var h = i.beforeCreate;
170
+ i.beforeCreate = h ? [].concat(h, l) : [l];
166
171
  }
167
172
  return {
168
173
  exports: t,
169
174
  options: i
170
175
  };
171
176
  }
172
- var G = function() {
177
+ var J = function() {
173
178
  var e = this, n = e._self._c;
174
- return n("div", { staticClass: "builder-columns div-20351ewpue7", style: e.columnsCssVars }, e._l(e.columns, function(o, s) {
175
- return n("div", { key: s, staticClass: "builder-column div-20351ewpue7-2", style: {
179
+ return n("div", { staticClass: "builder-columns div-29wpyomtntv", style: e.columnsCssVars }, e._l(e.columns, function(o, s) {
180
+ return n("div", { key: s, staticClass: "builder-column div-29wpyomtntv-2", style: {
176
181
  width: e.getColumnCssWidth(s),
177
182
  marginLeft: `${s === 0 ? 0 : e.getGutterSize()}px`,
178
183
  ...e.columnCssVars
179
- } }, [n("render-blocks", { attrs: { blocks: e.markMutable(o.blocks), path: `component.options.columns.${s}.blocks`, parent: e.builderBlock.id } })], 1);
184
+ } }, [n("render-blocks", { attrs: { blocks: e.markMutable(o.blocks), path: `component.options.columns.${s}.blocks`, parent: e.builderBlock.id, styleProp: {
185
+ flexGrow: "1"
186
+ } } })], 1);
180
187
  }), 0);
181
188
  }, X = [], Y = /* @__PURE__ */ p(
182
- J,
183
189
  G,
190
+ J,
184
191
  X,
185
192
  !1,
186
193
  null,
187
- "074f8045",
194
+ "28f66c93",
188
195
  null,
189
196
  null
190
197
  );
@@ -233,8 +240,8 @@ const te = {
233
240
  "className",
234
241
  "sizes",
235
242
  "aspectRatio",
236
- "fitContent",
237
- "builderBlock"
243
+ "builderBlock",
244
+ "fitContent"
238
245
  ],
239
246
  computed: {
240
247
  srcSetToUse() {
@@ -269,21 +276,21 @@ const te = {
269
276
  var ne = function() {
270
277
  var o, s, r, a;
271
278
  var e = this, n = e._self._c;
272
- return n("div", { staticClass: "div-cvp1sc2nsao" }, [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
273
- "builder-image" + (e.className ? " " + e.className : "") + " img-cvp1sc2nsao"
279
+ return n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
280
+ "builder-image" + (e.className ? " " + e.className : "") + " img-1j57pcfa436"
274
281
  ), style: {
275
282
  objectPosition: e.backgroundSize || "center",
276
283
  objectFit: e.backgroundSize || "cover"
277
- }, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(e.fitContent && ((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length)) ? [n("div", { staticClass: "builder-image-sizer div-cvp1sc2nsao-2", style: {
284
+ }, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-1j57pcfa436", style: {
278
285
  paddingTop: e.aspectRatio * 100 + "%"
279
- } })] : e._e(), ((a = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : a.length) && e.fitContent ? [e._t("default")] : e._e(), e.fitContent ? e._e() : [n("div", { staticClass: "div-cvp1sc2nsao-3" }, [e._t("default")], 2)]], 2);
286
+ } })] : e._e(), ((a = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : a.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-1j57pcfa436-2" }, [e._t("default")], 2)] : e._e()], 2);
280
287
  }, oe = [], se = /* @__PURE__ */ p(
281
288
  te,
282
289
  ne,
283
290
  oe,
284
291
  !1,
285
292
  null,
286
- "fef5e4cf",
293
+ "c75d9535",
287
294
  null,
288
295
  null
289
296
  );
@@ -337,6 +344,12 @@ const de = le.exports, ue = {
337
344
  playsInline: !0
338
345
  } : {}
339
346
  };
347
+ },
348
+ spreadProps() {
349
+ return {
350
+ ...this.attributes,
351
+ ...this.videoProps
352
+ };
340
353
  }
341
354
  }
342
355
  };
@@ -350,8 +363,8 @@ var pe = function() {
350
363
  objectFit: e.fit,
351
364
  objectPosition: e.position,
352
365
  borderRadius: 1
353
- }, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.videoProps, !1));
354
- }, me = [], fe = /* @__PURE__ */ p(
366
+ }, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.spreadProps, !1));
367
+ }, me = [], he = /* @__PURE__ */ p(
355
368
  ue,
356
369
  pe,
357
370
  me,
@@ -361,7 +374,7 @@ var pe = function() {
361
374
  null,
362
375
  null
363
376
  );
364
- const he = fe.exports;
377
+ const fe = he.exports;
365
378
  function v(t, e = null, n = ".") {
366
379
  return Object.keys(t).reduce((o, s) => {
367
380
  const r = t[s], a = [e, s].filter(Boolean).join(n);
@@ -380,7 +393,7 @@ const S = "builder.", ge = (t) => {
380
393
  }, be = (t) => {
381
394
  if (!t)
382
395
  return {};
383
- const e = F(t), n = {};
396
+ const e = E(t), n = {};
384
397
  return Object.keys(e).forEach((o) => {
385
398
  if (o.startsWith(S)) {
386
399
  const s = o.replace(S, "");
@@ -392,11 +405,11 @@ const S = "builder.", ge = (t) => {
392
405
  return {};
393
406
  const t = new URLSearchParams(window.location.search);
394
407
  return be(t);
395
- }, F = (t) => t instanceof URLSearchParams ? ge(t) : t;
408
+ }, E = (t) => t instanceof URLSearchParams ? ge(t) : t;
396
409
  function _e() {
397
410
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : null;
398
411
  }
399
- async function E() {
412
+ async function F() {
400
413
  const t = _e().fetch;
401
414
  if (typeof t > "u" && typeof global < "u") {
402
415
  const e = import("node-fetch").then((n) => n.default);
@@ -447,14 +460,14 @@ const ye = (t) => {
447
460
  } catch (s) {
448
461
  console.warn("[COOKIE] SET error: ", s);
449
462
  }
450
- }, ke = "builderio.variations", V = (t) => `${ke}.${t}`, Se = ({
463
+ }, ke = "builderio.variations", A = (t) => `${ke}.${t}`, Se = ({
451
464
  contentId: t,
452
465
  canTrack: e
453
- }) => j({ name: V(t), canTrack: e }), Ie = ({
466
+ }) => j({ name: A(t), canTrack: e }), Ie = ({
454
467
  contentId: t,
455
468
  canTrack: e,
456
469
  value: n
457
- }) => U({ name: V(t), value: n, canTrack: e }), g = (t) => t != null, Te = (t) => g(t.id) && g(t.variations) && Object.keys(t.variations).length > 0, Re = ({
470
+ }) => U({ name: A(t), value: n, canTrack: e }), g = (t) => t != null, Te = (t) => g(t.id) && g(t.variations) && Object.keys(t.variations).length > 0, Re = ({
458
471
  id: t,
459
472
  variations: e
460
473
  }) => {
@@ -501,7 +514,7 @@ const ye = (t) => {
501
514
  console.error("could not store A/B test variation: ", r);
502
515
  }), I({ item: t, testGroupId: s });
503
516
  }
504
- }, Fe = async ({
517
+ }, Ee = async ({
505
518
  item: t,
506
519
  canTrack: e
507
520
  }) => {
@@ -510,10 +523,10 @@ const ye = (t) => {
510
523
  const n = await $e({ item: t, canTrack: e });
511
524
  Object.assign(t, n);
512
525
  };
513
- async function A(t) {
526
+ async function V(t) {
514
527
  return (await je({ ...t, limit: 1 })).results[0] || null;
515
528
  }
516
- const Ee = (t) => {
529
+ const Fe = (t) => {
517
530
  const {
518
531
  limit: e = 30,
519
532
  userAttributes: n,
@@ -525,24 +538,24 @@ const Ee = (t) => {
525
538
  `https://cdn.builder.io/api/v2/content/${r}?apiKey=${a}&limit=${e}&noTraverse=${s}`
526
539
  ), i = {
527
540
  ...ve(),
528
- ...F(t.options || {})
541
+ ...E(t.options || {})
529
542
  }, l = v(i);
530
543
  for (const d in l)
531
544
  c.searchParams.set(d, String(l[d]));
532
545
  if (n && c.searchParams.set("userAttributes", JSON.stringify(n)), o) {
533
546
  const d = v({ query: o });
534
- for (const f in d)
535
- c.searchParams.set(f, JSON.stringify(d[f]));
547
+ for (const h in d)
548
+ c.searchParams.set(h, JSON.stringify(d[h]));
536
549
  }
537
550
  return c;
538
551
  };
539
552
  async function je(t) {
540
- const e = Ee(t), o = await (await E())(e.href).then(
553
+ const e = Fe(t), o = await (await F())(e.href).then(
541
554
  (r) => r.json()
542
555
  ), s = t.canTrack !== !1;
543
556
  if (s)
544
557
  for (const r of o.results)
545
- await Fe({ item: r, canTrack: s });
558
+ await Ee({ item: r, canTrack: s });
546
559
  return o;
547
560
  }
548
561
  const Ue = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((t) => {
@@ -550,37 +563,41 @@ const Ue = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((
550
563
  "Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
551
564
  t
552
565
  ), t;
553
- }), Ve = {
566
+ }), Ae = {
554
567
  name: "builder-symbol",
555
- components: { "render-content": Ue },
568
+ components: { RenderContent: Ue },
556
569
  props: ["symbol", "attributes"],
557
- data: () => ({ className: "builder-symbol", content: null, markMutable: y }),
570
+ data: () => ({
571
+ className: "builder-symbol",
572
+ fetchedContent: null,
573
+ markMutable: y
574
+ }),
558
575
  inject: {
559
576
  builderContext: "BuilderContext"
560
577
  },
561
- mounted() {
562
- var t;
563
- this.content = (t = this.symbol) == null ? void 0 : t.content;
564
- },
565
578
  watch: {
566
579
  onUpdateHook0() {
567
580
  const t = this.symbol;
568
- t && !t.content && !this.content && t.model && A({
581
+ t && !t.content && !this.fetchedContent && t.model && V({
569
582
  model: t.model,
570
583
  apiKey: this.builderContext.apiKey,
571
584
  query: {
572
585
  id: t.entry
573
586
  }
574
587
  }).then((e) => {
575
- this.content = e;
588
+ this.fetchedContent = e;
576
589
  });
577
590
  }
578
591
  },
579
592
  computed: {
593
+ contentToUse() {
594
+ var t;
595
+ return ((t = this.symbol) == null ? void 0 : t.content) || this.fetchedContent;
596
+ },
580
597
  onUpdateHook0() {
581
598
  return {
582
599
  0: this.symbol,
583
- 1: this.content
600
+ 1: this.fetchedContent
584
601
  };
585
602
  }
586
603
  },
@@ -596,7 +613,7 @@ const Ue = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((
596
613
  }
597
614
  }
598
615
  };
599
- var Ae = function() {
616
+ var Ve = function() {
600
617
  var o, s, r, a, c;
601
618
  var e = this, n = e._self._c;
602
619
  return n("div", e._b({ class: e._classStringToObject(e.className), attrs: { dataSet: {
@@ -605,10 +622,10 @@ var Ae = function() {
605
622
  ...(o = e.symbol) == null ? void 0 : o.data,
606
623
  ...e.builderContext.state,
607
624
  ...(a = (r = (s = e.symbol) == null ? void 0 : s.content) == null ? void 0 : r.data) == null ? void 0 : a.state
608
- }), model: (c = e.symbol) == null ? void 0 : c.model, content: e.markMutable(e.content) } })], 1);
625
+ }), model: (c = e.symbol) == null ? void 0 : c.model, content: e.markMutable(e.contentToUse) } })], 1);
609
626
  }, Oe = [], Pe = /* @__PURE__ */ p(
610
- Ve,
611
627
  Ae,
628
+ Ve,
612
629
  Oe,
613
630
  !1,
614
631
  null,
@@ -622,14 +639,14 @@ const We = Pe.exports, Be = {
622
639
  };
623
640
  var Le = function() {
624
641
  var e = this, n = e._self._c;
625
- return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-1be3j8m9ewb" }, "button", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]);
642
+ return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-1pl23ac79ld" }, "button", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]);
626
643
  }, Me = [], Ne = /* @__PURE__ */ p(
627
644
  Be,
628
645
  Le,
629
646
  Me,
630
647
  !1,
631
648
  null,
632
- "4348d458",
649
+ "3eed583a",
633
650
  null,
634
651
  null
635
652
  );
@@ -652,7 +669,7 @@ var qe = function() {
652
669
  null,
653
670
  null
654
671
  );
655
- const Je = Ke.exports, Ge = {
672
+ const Ge = Ke.exports, Je = {
656
673
  name: "builder-fragment-component",
657
674
  props: []
658
675
  };
@@ -660,7 +677,7 @@ var Xe = function() {
660
677
  var e = this, n = e._self._c;
661
678
  return n("span", [e._t("default")], 2);
662
679
  }, Ye = [], Qe = /* @__PURE__ */ p(
663
- Ge,
680
+ Je,
664
681
  Xe,
665
682
  Ye,
666
683
  !1,
@@ -967,13 +984,13 @@ const tt = {
967
984
  function n(a, c = 6e4) {
968
985
  return new Promise((i, l) => {
969
986
  const d = document.createElement("img");
970
- let f = !1;
987
+ let h = !1;
971
988
  d.onload = () => {
972
- f = !0, i(d);
989
+ h = !0, i(d);
973
990
  }, d.addEventListener("error", (m) => {
974
991
  console.warn("Image load failed", m.error), l(m.error);
975
992
  }), d.src = a, setTimeout(() => {
976
- f || l(new Error("Image load timed out"));
993
+ h || l(new Error("Image load timed out"));
977
994
  }, c);
978
995
  });
979
996
  }
@@ -1353,7 +1370,7 @@ const tt = {
1353
1370
  var pt = function() {
1354
1371
  var e = this, n = e._self._c;
1355
1372
  return n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
1356
- }, mt = [], ft = /* @__PURE__ */ p(
1373
+ }, mt = [], ht = /* @__PURE__ */ p(
1357
1374
  ut,
1358
1375
  pt,
1359
1376
  mt,
@@ -1363,11 +1380,11 @@ var pt = function() {
1363
1380
  null,
1364
1381
  null
1365
1382
  );
1366
- const ht = ft.exports;
1383
+ const ft = ht.exports;
1367
1384
  function gt() {
1368
1385
  return u() && window.self !== window.top;
1369
1386
  }
1370
- function h() {
1387
+ function f() {
1371
1388
  return gt() && window.location.search.indexOf("builder.frameEditing=") !== -1;
1372
1389
  }
1373
1390
  const bt = {
@@ -1380,7 +1397,7 @@ const bt = {
1380
1397
  "image",
1381
1398
  "attributes"
1382
1399
  ],
1383
- data: () => ({ isEditing: h })
1400
+ data: () => ({ isEditing: f })
1384
1401
  };
1385
1402
  var vt = function() {
1386
1403
  var e = this, n = e._self._c;
@@ -1507,12 +1524,12 @@ const Tt = It.exports, Rt = {
1507
1524
  { component: re, ...ot },
1508
1525
  { component: xt, ...Ct },
1509
1526
  { component: de, ...at },
1510
- { component: he, ...it },
1527
+ { component: fe, ...it },
1511
1528
  { component: We, ...rt },
1512
1529
  { component: He, ...et },
1513
- { component: Je, ...st },
1530
+ { component: Ge, ...st },
1514
1531
  { component: Ze, ...nt },
1515
- { component: ht, ...ct },
1532
+ { component: ft, ...ct },
1516
1533
  { component: Tt, ...Rt }
1517
1534
  ];
1518
1535
  function T({
@@ -1526,7 +1543,7 @@ function T({
1526
1543
  return;
1527
1544
  }
1528
1545
  const s = {
1529
- isEditing: h(),
1546
+ isEditing: f(),
1530
1547
  isBrowser: u(),
1531
1548
  isServer: !u()
1532
1549
  }, a = !(t.includes(";") || t.includes(" return ") || t.trim().startsWith("return ")) ? `return (${t});` : t;
@@ -1551,29 +1568,29 @@ function T({
1551
1568
  );
1552
1569
  }
1553
1570
  }
1554
- function Ft() {
1555
- return !u() || h() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1571
+ function Et() {
1572
+ return !u() || f() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1556
1573
  }
1557
- const O = [];
1574
+ const O = (t) => JSON.parse(JSON.stringify(t)), P = [];
1558
1575
  function ln(t, e) {
1559
- return O.push({ component: t, ...e }), console.warn(
1576
+ return P.push({ component: t, ...e }), console.warn(
1560
1577
  "registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK."
1561
1578
  ), t;
1562
1579
  }
1563
- const Et = ({
1580
+ const Ft = ({
1564
1581
  component: t,
1565
1582
  ...e
1566
1583
  }) => ({
1567
1584
  type: "builder.registerComponent",
1568
- data: Vt(e)
1569
- }), P = (t) => JSON.parse(JSON.stringify(t)), jt = (t) => typeof t == "function" ? Ut(t) : P(t), Ut = (t) => {
1585
+ data: At(e)
1586
+ }), jt = (t) => typeof t == "function" ? Ut(t) : O(t), Ut = (t) => {
1570
1587
  const e = t.toString().trim();
1571
1588
  return `return (${!e.startsWith("function") && !e.startsWith("(") ? "function " : ""}${e}).apply(this, arguments)`;
1572
- }, Vt = ({
1589
+ }, At = ({
1573
1590
  inputs: t,
1574
1591
  ...e
1575
1592
  }) => ({
1576
- ...P(e),
1593
+ ...O(e),
1577
1594
  inputs: t == null ? void 0 : t.map(
1578
1595
  (n) => Object.entries(n).reduce(
1579
1596
  (o, [s, r]) => ({
@@ -1584,14 +1601,14 @@ const Et = ({
1584
1601
  )
1585
1602
  )
1586
1603
  });
1587
- function At() {
1604
+ function Vt() {
1588
1605
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
1589
1606
  const e = Math.random() * 16 | 0;
1590
1607
  return (t == "x" ? e : e & 3 | 8).toString(16);
1591
1608
  });
1592
1609
  }
1593
1610
  function W() {
1594
- return At().replace(/-/g, "");
1611
+ return Vt().replace(/-/g, "");
1595
1612
  }
1596
1613
  const B = "builderSessionId", Ot = async ({ canTrack: t }) => {
1597
1614
  if (!t)
@@ -1676,7 +1693,7 @@ const B = "builderSessionId", Ot = async ({ canTrack: t }) => {
1676
1693
  }
1677
1694
  });
1678
1695
  async function R(t) {
1679
- if (!!t.canTrack && !h() && !!(u() || _ === "reactNative"))
1696
+ if (!!t.canTrack && !f() && !!(u() || _ === "reactNative"))
1680
1697
  return fetch("https://builder.io/api/v1/track", {
1681
1698
  method: "POST",
1682
1699
  body: JSON.stringify({
@@ -1695,16 +1712,16 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1695
1712
  "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
1696
1713
  t
1697
1714
  ), t;
1698
- }), Kt = () => import("./render-styles.79b15aed.js").then((t) => t.default).catch((t) => {
1715
+ }), Kt = () => import("./render-styles.67a8bb35.js").then((t) => t.default).catch((t) => {
1699
1716
  throw console.error(
1700
1717
  "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
1701
1718
  t
1702
1719
  ), t;
1703
- }), Jt = {
1720
+ }), Gt = {
1704
1721
  name: "render-content",
1705
1722
  components: {
1706
- "render-content-styles": Kt,
1707
- "render-blocks": Dt
1723
+ RenderContentStyles: Kt,
1724
+ RenderBlocks: Dt
1708
1725
  },
1709
1726
  props: [
1710
1727
  "content",
@@ -1747,10 +1764,10 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1747
1764
  mounted() {
1748
1765
  var t;
1749
1766
  if (u()) {
1750
- if (h() && (this.forceReRenderCount = this.forceReRenderCount + 1, q(), D(), Object.values(this.allRegisteredComponents).forEach(
1767
+ if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, q(), D(), Object.values(this.allRegisteredComponents).forEach(
1751
1768
  (e) => {
1752
1769
  var o;
1753
- const n = Et(e);
1770
+ const n = Ft(e);
1754
1771
  (o = window.parent) == null || o.postMessage(n, "*");
1755
1772
  }
1756
1773
  ), window.addEventListener("message", this.processMessage), window.addEventListener(
@@ -1761,11 +1778,11 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1761
1778
  canTrack: this.canTrackToUse,
1762
1779
  contentId: (t = this.useContent) == null ? void 0 : t.id,
1763
1780
  orgId: this.apiKey
1764
- }), Ft()) {
1781
+ }), Et()) {
1765
1782
  const e = new URL(location.href).searchParams;
1766
1783
  if (this.model && e.get("builder.preview") === this.model) {
1767
1784
  const n = e.get("apiKey") || e.get("builder.space");
1768
- n && A({
1785
+ n && V({
1769
1786
  model: this.model,
1770
1787
  apiKey: n
1771
1788
  }).then((o) => {
@@ -1823,10 +1840,13 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1823
1840
  allRegisteredComponents() {
1824
1841
  return [
1825
1842
  ...$t(),
1826
- ...O,
1843
+ ...P,
1827
1844
  ...this.customComponents || []
1828
1845
  ].reduce(
1829
- (n, o) => ({ ...n, [o.name]: o }),
1846
+ (n, o) => ({
1847
+ ...n,
1848
+ [o.name]: o
1849
+ }),
1830
1850
  {}
1831
1851
  );
1832
1852
  },
@@ -1898,8 +1918,11 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1898
1918
  );
1899
1919
  },
1900
1920
  handleRequest({ url: t, key: e }) {
1901
- E().then((n) => n(t)).then((n) => n.json()).then((n) => {
1902
- const o = { ...this.overrideState, [e]: n };
1921
+ F().then((n) => n(t)).then((n) => n.json()).then((n) => {
1922
+ const o = {
1923
+ ...this.overrideState,
1924
+ [e]: n
1925
+ };
1903
1926
  this.overrideState = o;
1904
1927
  }).catch((n) => {
1905
1928
  console.log("error fetching dynamic data", t, n);
@@ -1909,7 +1932,7 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1909
1932
  var e, n, o;
1910
1933
  const t = (o = (n = (e = this.useContent) == null ? void 0 : e.data) == null ? void 0 : n.httpRequests) != null ? o : {};
1911
1934
  Object.entries(t).forEach(([s, r]) => {
1912
- if (r && (!this.httpReqsData[s] || h())) {
1935
+ if (r && (!this.httpReqsData[s] || f())) {
1913
1936
  const a = this.evalExpression(r);
1914
1937
  this.handleRequest({
1915
1938
  url: a,
@@ -1919,7 +1942,7 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1919
1942
  });
1920
1943
  },
1921
1944
  emitStateUpdate() {
1922
- h() && window.dispatchEvent(
1945
+ f() && window.dispatchEvent(
1923
1946
  new CustomEvent("builder:component:stateChange", {
1924
1947
  detail: {
1925
1948
  state: this.contentState,
@@ -1932,15 +1955,15 @@ const Dt = () => Promise.resolve().then(() => N).then((t) => t.default).catch((t
1932
1955
  }
1933
1956
  }
1934
1957
  };
1935
- var Gt = function() {
1958
+ var Jt = function() {
1936
1959
  var o, s, r, a, c, i, l;
1937
1960
  var e = this, n = e._self._c;
1938
- return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id }, on: { click: function(d) {
1961
+ return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(d) {
1939
1962
  return e.onClick(d);
1940
1963
  } } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { cssCode: (r = (s = e.useContent) == null ? void 0 : s.data) == null ? void 0 : r.cssCode, customFonts: (c = (a = e.useContent) == null ? void 0 : a.data) == null ? void 0 : c.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: e.markMutable((l = (i = e.useContent) == null ? void 0 : i.data) == null ? void 0 : l.blocks) } })], 2) : e._e();
1941
1964
  }, Xt = [], Yt = /* @__PURE__ */ p(
1942
- Jt,
1943
1965
  Gt,
1966
+ Jt,
1944
1967
  Xt,
1945
1968
  !1,
1946
1969
  null,
@@ -1951,20 +1974,20 @@ var Gt = function() {
1951
1974
  const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1952
1975
  __proto__: null,
1953
1976
  default: Qt
1954
- }, Symbol.toStringTag, { value: "Module" })), en = () => import("./block-styles.dd3d70e3.js").then((t) => t.default).catch((t) => {
1977
+ }, Symbol.toStringTag, { value: "Module" })), en = () => import("./block-styles.f1cd7e30.js").then((t) => t.default).catch((t) => {
1955
1978
  throw console.error(
1956
1979
  "Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
1957
1980
  t
1958
1981
  ), t;
1959
- }), tn = () => import("./render-block.a2f51c18.js").then((t) => t.default).catch((t) => {
1982
+ }), tn = () => import("./render-block.7c0c9395.js").then((t) => t.default).catch((t) => {
1960
1983
  throw console.error(
1961
1984
  "Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
1962
1985
  t
1963
1986
  ), t;
1964
1987
  }), nn = {
1965
1988
  name: "render-blocks",
1966
- components: { "render-block": tn, "block-styles": en },
1967
- props: ["blocks", "parent", "path"],
1989
+ components: { RenderBlock: tn, BlockStyles: en },
1990
+ props: ["blocks", "parent", "path", "styleProp"],
1968
1991
  inject: {
1969
1992
  builderContext: "BuilderContext"
1970
1993
  },
@@ -1977,7 +2000,7 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
1977
2000
  methods: {
1978
2001
  onClick() {
1979
2002
  var t, e;
1980
- h() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
2003
+ f() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
1981
2004
  {
1982
2005
  type: "builder.clickEmptyBlocks",
1983
2006
  data: {
@@ -1990,7 +2013,7 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
1990
2013
  },
1991
2014
  onMouseEnter() {
1992
2015
  var t, e;
1993
- h() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
2016
+ f() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
1994
2017
  {
1995
2018
  type: "builder.hoverEmptyBlocks",
1996
2019
  data: {
@@ -2014,7 +2037,7 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
2014
2037
  };
2015
2038
  var on = function() {
2016
2039
  var e = this, n = e._self._c;
2017
- return n("div", { class: e._classStringToObject(e.className + " div-23e8fqt91nf"), attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
2040
+ return n("div", { class: e._classStringToObject(e.className + " div-23e8fqt91nf"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
2018
2041
  class: e.className
2019
2042
  } }, on: { click: function(o) {
2020
2043
  return e.onClick();
@@ -2031,7 +2054,7 @@ var on = function() {
2031
2054
  sn,
2032
2055
  !1,
2033
2056
  null,
2034
- "69abb8b2",
2057
+ "713efc9e",
2035
2058
  null,
2036
2059
  null
2037
2060
  );
@@ -2056,26 +2079,27 @@ export {
2056
2079
  re as I,
2057
2080
  We as S,
2058
2081
  _ as T,
2059
- he as V,
2082
+ fe as V,
2060
2083
  de as a,
2061
- Je as b,
2084
+ Ge as b,
2062
2085
  an as c,
2063
- Ft as d,
2086
+ Et as d,
2064
2087
  T as e,
2065
2088
  O as f,
2066
- ln as g,
2067
- Et as h,
2068
- h as i,
2069
- z as j,
2070
- A as k,
2071
- Ee as l,
2089
+ P as g,
2090
+ ln as h,
2091
+ f as i,
2092
+ Ft as j,
2093
+ z as k,
2094
+ V as l,
2072
2095
  cn as m,
2073
2096
  p as n,
2074
- je as o,
2075
- ge as p,
2076
- be as q,
2097
+ Fe as o,
2098
+ je as p,
2099
+ ge as q,
2077
2100
  Qt as r,
2078
2101
  dn as s,
2079
- ve as t,
2080
- F as u
2102
+ be as t,
2103
+ ve as u,
2104
+ E as v
2081
2105
  };